Skip to content

add structured dracon logging #473

add structured dracon logging

add structured dracon logging #473

Triggered via pull request June 5, 2024 11:06
@northdpolenorthdpole
synchronize #190
Status Success
Total duration 2m 4s
Artifacts

lint.yml

on: pull_request_target
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Lint: components/consumers/defectdojo/client/client_test.go#L18
var mockTs should be mockTS (ST1003)
Lint: components/consumers/defectdojo/client/client_test.go#L36
var mockTs should be mockTS (ST1003)
Lint: components/consumers/defectdojo/client/client_test.go#L81
var mockTs should be mockTS (ST1003)
Lint: components/consumers/elasticsearch/main.go#L191
should omit type elasticsearch.Config from declaration; it will be inferred from the right-hand side (ST1023)
Lint: components/enrichers/deduplication/main.go#L31
var dbUrl should be dbURL (ST1003)
Lint: pkg/db/db.go#L31
should not use underscores in Go names; var search_paths should be searchPaths (ST1003)
Lint: pkg/jira/document/document.go#L66
comment on exported function SeverityToText should be of the form "SeverityToText ..." (ST1020)
Lint: components/producers/dependency-track/main.go#L75
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors
Lint: components/producers/typescript-npm-audit/types/npmquickaudit/npmquickaudit.go#L130
type switch on error will fail on wrapped errors. Use errors.As to check for specific errors
Lint: components/producers/typescript-npm-audit/main.go#L29
type switch on error will fail on wrapped errors. Use errors.As to check for specific errors
Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.