fix: Add invocation startTime and endTime to SARIF output #12824
test.yaml
on: pull_request
Integration Test
5m 38s
K8s Integration Test
4m 28s
Module Integration Test
4m 27s
VM Integration Test
4m 10s
Matrix: Build Test
Matrix: Test
Annotations
54 errors and 5 warnings
VM Integration Test:
pkg/report/sarif.go#L272
unknown field StartTimeUtc in struct literal of type sarif.Invocation, but does have StartTimeUTC
|
VM Integration Test:
pkg/report/sarif.go#L273
unknown field EndTimeUtc in struct literal of type sarif.Invocation, but does have EndTimeUTC
|
VM Integration Test:
pkg/report/writer.go#L7
"time" imported and not used
|
VM Integration Test:
pkg/report/writer.go#L96
option.StartTime undefined (type "github.com/aquasecurity/trivy/pkg/flag".Options has no field or method StartTime)
|
VM Integration Test:
pkg/report/writer.go#L97
option.EndTime undefined (type "github.com/aquasecurity/trivy/pkg/flag".Options has no field or method EndTime)
|
VM Integration Test
Process completed with exit code 1.
|
Module Integration Test:
pkg/report/sarif.go#L272
unknown field StartTimeUtc in struct literal of type sarif.Invocation, but does have StartTimeUTC
|
Module Integration Test:
pkg/report/sarif.go#L273
unknown field EndTimeUtc in struct literal of type sarif.Invocation, but does have EndTimeUTC
|
Module Integration Test:
pkg/report/writer.go#L7
"time" imported and not used
|
Module Integration Test:
pkg/report/writer.go#L96
option.StartTime undefined (type "github.com/aquasecurity/trivy/pkg/flag".Options has no field or method StartTime)
|
Module Integration Test:
pkg/report/writer.go#L97
option.EndTime undefined (type "github.com/aquasecurity/trivy/pkg/flag".Options has no field or method EndTime)
|
Module Integration Test
Process completed with exit code 1.
|
K8s Integration Test:
pkg/report/sarif.go#L272
unknown field StartTimeUtc in struct literal of type sarif.Invocation, but does have StartTimeUTC
|
K8s Integration Test:
pkg/report/sarif.go#L273
unknown field EndTimeUtc in struct literal of type sarif.Invocation, but does have EndTimeUTC
|
K8s Integration Test:
pkg/report/writer.go#L7
"time" imported and not used
|
K8s Integration Test:
pkg/report/writer.go#L96
option.StartTime undefined (type "github.com/aquasecurity/trivy/pkg/flag".Options has no field or method StartTime)
|
K8s Integration Test:
pkg/report/writer.go#L97
option.EndTime undefined (type "github.com/aquasecurity/trivy/pkg/flag".Options has no field or method EndTime)
|
K8s Integration Test
Process completed with exit code 1.
|
Integration Test:
pkg/report/sarif.go#L272
unknown field StartTimeUtc in struct literal of type sarif.Invocation, but does have StartTimeUTC
|
Integration Test:
pkg/report/sarif.go#L273
unknown field EndTimeUtc in struct literal of type sarif.Invocation, but does have EndTimeUTC
|
Integration Test:
pkg/report/writer.go#L7
"time" imported and not used
|
Integration Test:
pkg/report/writer.go#L96
option.StartTime undefined (type "github.com/aquasecurity/trivy/pkg/flag".Options has no field or method StartTime)
|
Integration Test:
pkg/report/writer.go#L97
option.EndTime undefined (type "github.com/aquasecurity/trivy/pkg/flag".Options has no field or method EndTime)
|
Integration Test
Process completed with exit code 1.
|
Test (ubuntu-latest)
Process completed with exit code 1.
|
Test (ubuntu-latest):
pkg/commands/artifact/run.go#L28
could not import github.com/aquasecurity/trivy/pkg/report (-: # github.com/aquasecurity/trivy/pkg/report
|
Test (ubuntu-latest):
pkg/report/sarif.go#L272
unknown field StartTimeUtc in struct literal of type sarif.Invocation, but does have StartTimeUTC
|
Test (ubuntu-latest):
pkg/report/sarif.go#L273
unknown field EndTimeUtc in struct literal of type sarif.Invocation, but does have EndTimeUTC
|
Test (ubuntu-latest):
pkg/report/writer.go#L7
"time" imported and not used
|
Test (ubuntu-latest):
pkg/report/writer.go#L96
option.StartTime undefined (type "github.com/aquasecurity/trivy/pkg/flag".Options has no field or method StartTime)
|
Test (ubuntu-latest):
pkg/report/writer.go#L97
option.EndTime undefined (type "github.com/aquasecurity/trivy/pkg/flag".Options has no field or method EndTime)) (typecheck)
|
Test (ubuntu-latest):
pkg/commands/convert/run.go#L15
could not import github.com/aquasecurity/trivy/pkg/report (-: # github.com/aquasecurity/trivy/pkg/report
|
Test (ubuntu-latest):
pkg/report/sarif.go#L272
unknown field StartTimeUtc in struct literal of type sarif.Invocation, but does have StartTimeUTC
|
Test (ubuntu-latest):
pkg/report/sarif.go#L273
unknown field EndTimeUtc in struct literal of type sarif.Invocation, but does have EndTimeUTC
|
Test (ubuntu-latest):
pkg/report/writer.go#L7
"time" imported and not used
|
Test (windows-latest)
The job was canceled because "ubuntu-latest" failed.
|
Test (windows-latest)
The operation was canceled.
|
Test (macos-latest)
The job was canceled because "ubuntu-latest" failed.
|
Test (macos-latest):
pkg/report/sarif.go#L272
unknown field StartTimeUtc in struct literal of type sarif.Invocation, but does have StartTimeUTC
|
Test (macos-latest):
pkg/report/sarif.go#L273
unknown field EndTimeUtc in struct literal of type sarif.Invocation, but does have EndTimeUTC
|
Test (macos-latest):
pkg/report/writer.go#L7
"time" imported and not used
|
Test (macos-latest):
pkg/report/writer.go#L96
option.StartTime undefined (type "github.com/aquasecurity/trivy/pkg/flag".Options has no field or method StartTime)
|
Test (macos-latest):
pkg/report/writer.go#L97
option.EndTime undefined (type "github.com/aquasecurity/trivy/pkg/flag".Options has no field or method EndTime)
|
Test (macos-latest)
The operation was canceled.
|
Build Test (macos-latest):
pkg/report/sarif.go#L272
unknown field StartTimeUtc in struct literal of type sarif.Invocation, but does have StartTimeUTC
|
Build Test (macos-latest):
pkg/report/sarif.go#L273
unknown field EndTimeUtc in struct literal of type sarif.Invocation, but does have EndTimeUTC
|
Build Test (macos-latest):
pkg/report/writer.go#L7
"time" imported and not used
|
Build Test (macos-latest):
pkg/report/writer.go#L96
option.StartTime undefined (type "github.com/aquasecurity/trivy/pkg/flag".Options has no field or method StartTime)
|
Build Test (macos-latest):
pkg/report/writer.go#L97
option.EndTime undefined (type "github.com/aquasecurity/trivy/pkg/flag".Options has no field or method EndTime)
|
Build Test (macos-latest)
The process '/Users/runner/hostedtoolcache/goreleaser-action/2.1.0/arm64/goreleaser' failed with exit code 1
|
Build Test (windows-latest)
The job was canceled because "macos-latest" failed.
|
Build Test (windows-latest)
The operation was canceled.
|
Build Test (ubuntu-latest)
The job was canceled because "macos-latest" failed.
|
Build Test (ubuntu-latest)
The operation was canceled.
|
VM Integration Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Module Integration Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
K8s Integration Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Integration Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|