Skip to content

Add sbom_report table to store sbom related information

Codecov / codecov/patch failed May 24, 2024 in 0s

45.66% of diff hit (target 67.56%)

View this Pull Request on Codecov

45.66% 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 335 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-L335

Added lines #L334 - L335 were 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 244 in src/pkg/scan/job.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pkg/scan/job.go#L244

Added line #L244 was 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 66 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#L65-L66

Added lines #L65 - L66 were not covered by tests

Check warning on line 71 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#L70-L71

Added lines #L70 - L71 were not covered by tests

Check warning on line 80 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#L79-L80

Added lines #L79 - L80 were not covered by tests

Check warning on line 85 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#L84-L85

Added lines #L84 - L85 were not covered by tests

Check warning on line 95 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#L94-L95

Added lines #L94 - L95 were not covered by tests

Check warning on line 110 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#L109-L110

Added lines #L109 - L110 were not covered by tests

Check warning on line 113 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#L112-L113

Added lines #L112 - L113 were not covered by tests

Check warning on line 121 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#L120-L121

Added lines #L120 - L121 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#L116-L120

Added lines #L116 - 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#L122-L124

Added lines #L122 - 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#L126-L131

Added lines #L126 - L131 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pkg/scan/sbom/manager.go#L133

Added line #L133 was 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 165 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-L165

Added lines #L155 - L165 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/pkg/scan/sbom/manager.go#L167-L172

Added lines #L167 - L172 were not covered by tests