Skip to content

chore(deps): update aquasecurity/trivy-action action to v0.13.0 #206

chore(deps): update aquasecurity/trivy-action action to v0.13.0

chore(deps): update aquasecurity/trivy-action action to v0.13.0 #206

Triggered via push October 25, 2023 18:44
Status Success
Total duration 4m 21s
Artifacts 1
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

push_pr.yml

on: push
Test binary compilation and packaging for linux
2m 43s
Test binary compilation and packaging for linux
Run all static analysis checks
4m 10s
Run all static analysis checks
Run security checks via snyk
25s
Run security checks via snyk
Run unit tests on *Nix
1m 0s
Run unit tests on *Nix
Run unit tests on Windows
1m 55s
Run unit tests on Windows
Run integration tests on *Nix
1m 37s
Run integration tests on *Nix
Matrix: Create MSI
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
Run all static analysis checks: src/metrics/metrics.go#L142
Function 'populateCustomMetrics' has too many statements (61 > 50) (funlen)
Run all static analysis checks: src/mssql.go#L92
exitAfterDefer: os.Exit will exit, and `defer con.Close()` will not run (gocritic)
Run all static analysis checks: src/metrics/database_metric_definitions.go#L17
wrapperFunc: use strings.ReplaceAll method in `strings.Replace(query, databasePlaceHolder, dbName, -1)` (gocritic)
Run all static analysis checks: src/metrics/metric_definitions_test.go#L28
wrapperFunc: use strings.ReplaceAll method in `strings.Replace(query, "%REPLACE%", "*", -1)` (gocritic)
Run all static analysis checks: src/args/argument_list.go#L33
cyclomatic complexity 12 of func `(ArgumentList).Validate` is high (> 10) (gocyclo)
Run all static analysis checks: src/metrics/metrics_test.go#L26
G306: Expect WriteFile permissions to be 0600 or less (gosec)
Run all static analysis checks: src/args/argument_list.go#L13
struct of size 224 bytes could be of size 208 bytes:
Run all static analysis checks: src/metrics/metrics.go#L205
`if !ok` has complex nested blocks (complexity: 7) (nestif)
Run all static analysis checks: src/connection/sql_connection.go#L54
unnecessary leading newline (whitespace)
Run all static analysis checks: src/connection/sql_connection.go#L85
unnecessary trailing newline (whitespace)
Run integration tests on *Nix
Restore cache failed: Dependencies file is not found in /home/runner/work/nri-mssql/nri-mssql. Supported file pattern: go.sum
Run unit tests on Windows
Restore cache failed: Dependencies file is not found in D:\a\nri-mssql\nri-mssql. Supported file pattern: go.sum
Run all static analysis checks
Unexpected input(s) 'auditOn', valid inputs are ['entryPoint', 'args', 'config', 'publishToken']
Run all static analysis checks
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Artifacts

Produced during runtime
Name Size
windows-packages Expired
4.64 MB