Adds account level and workspace level operations for ngwaf rules using json file inputs #4629
pr_test.yml
on: pull_request
config
30s
changelog
3s
docker-builds
3m 15s
Matrix: test
Annotations
8 errors
|
lint-latest (informational)
issues found
|
|
lint-latest (informational):
pkg/commands/ngwaf/workspace/rule/create.go#L80
exitAfterDefer: log.Fatalf will exit, and `defer jsonFile.Close()` will not run (gocritic)
|
|
lint-latest (informational):
pkg/commands/ngwaf/rule/update.go#L75
exitAfterDefer: log.Fatalf will exit, and `defer jsonFile.Close()` will not run (gocritic)
|
|
lint-latest (informational):
pkg/commands/ngwaf/rule/create.go#L71
exitAfterDefer: log.Fatalf will exit, and `defer jsonFile.Close()` will not run (gocritic)
|
|
lint
issues found
|
|
lint:
pkg/commands/ngwaf/workspace/rule/create.go#L80
exitAfterDefer: log.Fatalf will exit, and `defer jsonFile.Close()` will not run (gocritic)
|
|
lint:
pkg/commands/ngwaf/rule/update.go#L75
exitAfterDefer: log.Fatalf will exit, and `defer jsonFile.Close()` will not run (gocritic)
|
|
lint:
pkg/commands/ngwaf/rule/create.go#L71
exitAfterDefer: log.Fatalf will exit, and `defer jsonFile.Close()` will not run (gocritic)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
config-artifact-7738399803fcc46b67338764b2fbf968253b3913
Expired
|
1.04 KB |
sha256:4f15455d9f87421f0847b5f90274e8f63b593d3f42463f5830a3abfb1349fef4
|
|