Skip to content

Add sbom_report table to store sbom related information

Codecov / codecov/patch failed May 23, 2024 in 1s

46.12% of diff hit (target 67.56%)

View this Pull Request on Codecov

46.12% of diff hit (target 67.56%)

Annotations

Check warning on line 330 in src/controller/event/handler/internal/artifact.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/controller/event/handler/internal/artifact.go#L329-L330

Added lines #L329 - L330 were not covered by tests

Check warning on line 334 in src/controller/event/handler/internal/artifact.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/controller/event/handler/internal/artifact.go#L334

Added line #L334 was not covered by tests

Check warning on line 147 in src/controller/event/handler/webhook/scan/scan.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/controller/event/handler/webhook/scan/scan.go#L147

Added line #L147 was not covered by tests

Check warning on line 155 in src/controller/event/handler/webhook/scan/scan.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/controller/event/handler/webhook/scan/scan.go#L155

Added line #L155 was not covered by tests

Check warning on line 645 in src/controller/scan/base_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/controller/scan/base_controller.go#L643-L645

Added lines #L643 - L645 were not covered by tests

Check warning on line 299 in src/pkg/scan/job.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pkg/scan/job.go#L299

Added line #L299 was not covered by tests

Check warning on line 315 in src/pkg/scan/job.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pkg/scan/job.go#L315

Added line #L315 was not covered by tests

Check warning on line 59 in src/pkg/scan/sbom/dao/dao.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pkg/scan/sbom/dao/dao.go#L58-L59

Added lines #L58 - L59 were not covered by tests

Check warning on line 67 in src/pkg/scan/sbom/dao/dao.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pkg/scan/sbom/dao/dao.go#L66-L67

Added lines #L66 - L67 were not covered by tests

Check warning on line 72 in src/pkg/scan/sbom/dao/dao.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pkg/scan/sbom/dao/dao.go#L71-L72

Added lines #L71 - L72 were not covered by tests

Check warning on line 81 in src/pkg/scan/sbom/dao/dao.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pkg/scan/sbom/dao/dao.go#L80-L81

Added lines #L80 - L81 were not covered by tests

Check warning on line 86 in src/pkg/scan/sbom/dao/dao.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pkg/scan/sbom/dao/dao.go#L85-L86

Added lines #L85 - L86 were not covered by tests

Check warning on line 96 in src/pkg/scan/sbom/dao/dao.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pkg/scan/sbom/dao/dao.go#L95-L96

Added lines #L95 - L96 were not covered by tests

Check warning on line 111 in src/pkg/scan/sbom/dao/dao.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pkg/scan/sbom/dao/dao.go#L110-L111

Added lines #L110 - L111 were not covered by tests

Check warning on line 114 in src/pkg/scan/sbom/dao/dao.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pkg/scan/sbom/dao/dao.go#L113-L114

Added lines #L113 - L114 were not covered by tests

Check warning on line 122 in src/pkg/scan/sbom/dao/dao.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pkg/scan/sbom/dao/dao.go#L121-L122

Added lines #L121 - L122 were not covered by tests

Check warning on line 120 in src/pkg/scan/sbom/manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pkg/scan/sbom/manager.go#L119-L120

Added lines #L119 - L120 were not covered by tests

Check warning on line 124 in src/pkg/scan/sbom/manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pkg/scan/sbom/manager.go#L123-L124

Added lines #L123 - L124 were not covered by tests

Check warning on line 131 in src/pkg/scan/sbom/manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pkg/scan/sbom/manager.go#L130-L131

Added lines #L130 - L131 were not covered by tests

Check warning on line 145 in src/pkg/scan/sbom/manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pkg/scan/sbom/manager.go#L136-L145

Added lines #L136 - L145 were not covered by tests

Check warning on line 153 in src/pkg/scan/sbom/manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pkg/scan/sbom/manager.go#L150-L153

Added lines #L150 - L153 were not covered by tests

Check warning on line 162 in src/pkg/scan/sbom/manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pkg/scan/sbom/manager.go#L155-L162

Added lines #L155 - L162 were not covered by tests

Check warning on line 169 in src/pkg/scan/sbom/manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pkg/scan/sbom/manager.go#L164-L169

Added lines #L164 - L169 were not covered by tests

Check warning on line 176 in src/pkg/scan/sbom/manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pkg/scan/sbom/manager.go#L173-L176

Added lines #L173 - L176 were not covered by tests

Check warning on line 180 in src/pkg/scan/sbom/manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pkg/scan/sbom/manager.go#L178-L180

Added lines #L178 - L180 were not covered by tests