feat(queries): implementation of regal for linting rego files #37
validate-rego.yaml
on: pull_request
Run Regal Linter on Rego Files
53s
Annotations
10 errors
Run Regal Linter on Rego Files:
assets/queries/k8s/service_type_is_nodeport/query.rego#L3
Redundant alias. To learn more, see: https://docs.styra.com/regal/rules/imports/redundant-alias
|
Run Regal Linter on Rego Files:
assets/queries/cicd/github/run_block_injection/query.rego#L172
Unconditional assignment in rule body. To learn more, see: https://docs.styra.com/regal/rules/style/unconditional-assignment
|
Run Regal Linter on Rego Files:
assets/queries/cloudFormation/aws/unscanned_ecr_image/query.rego#L42
Prefer pattern matching in function arguments. To learn more, see: https://docs.styra.com/regal/rules/idiomatic/equals-pattern-matching
|
Run Regal Linter on Rego Files:
assets/queries/openAPI/3.0/additional_properties_too_restrective/query.rego#L43
Prefer pattern matching in function arguments. To learn more, see: https://docs.styra.com/regal/rules/idiomatic/equals-pattern-matching
|
Run Regal Linter on Rego Files:
assets/queries/openAPI/general/paths_object_empty/query.rego#L30
Prefer pattern matching in function arguments. To learn more, see: https://docs.styra.com/regal/rules/idiomatic/equals-pattern-matching
|
Run Regal Linter on Rego Files:
assets/queries/terraform/aws/neptune_logging_disabled/query.rego#L59
Custom function may be replaced by `in` and `object.keys`. To learn more, see: https://docs.styra.com/regal/rules/idiomatic/custom-has-key-construct
|
Run Regal Linter on Rego Files:
assets/queries/cloudFormation/aws/cdn_configuration_is_missing/query.rego#L46
Prefer pattern matching in function arguments. To learn more, see: https://docs.styra.com/regal/rules/idiomatic/equals-pattern-matching
|
Run Regal Linter on Rego Files:
assets/queries/k8s/using_unrecommended_namespace/query.rego#L5
Import declared after rule. To learn more, see: https://docs.styra.com/regal/rules/imports/import-after-rule
|
Run Regal Linter on Rego Files:
assets/queries/k8s/using_unrecommended_namespace/query.rego#L6
Import declared after rule. To learn more, see: https://docs.styra.com/regal/rules/imports/import-after-rule
|
Run Regal Linter on Rego Files:
assets/queries/ansible/aws/password_without_reuse_prevention/query.rego#L25
Prefer pattern matching in function arguments. To learn more, see: https://docs.styra.com/regal/rules/idiomatic/equals-pattern-matching
|