Skip to content

Adds account level and workspace level operations for ngwaf rules using json file inputs #4629

Adds account level and workspace level operations for ngwaf rules using json file inputs

Adds account level and workspace level operations for ngwaf rules using json file inputs #4629

Triggered via pull request December 19, 2025 17:56
Status Failure
Total duration 17m 9s
Artifacts 1

pr_test.yml

on: pull_request
lint
1m 23s
lint
lint-latest (informational)
50s
lint-latest (informational)
Matrix: test
Fit to window
Zoom out
Zoom in

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