Skip to content

Commit

Permalink
Fix input pattern to include documents in top directory
Browse files Browse the repository at this point in the history
  • Loading branch information
xiwenc committed Sep 29, 2024
1 parent c2e604f commit 45224a4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rules/004_pages/004_0001_inline_style_property_used.rego
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# severity: MEDIUM
# rulenumber: 004_0001
# remediation: Use generic classes instead, defined by the theme.
# input: "*/**/*$Page.yaml"
# input: "**/*$Page.yaml"
package app.mendix.pages.inline_style_property_used
import rego.v1
annotation := rego.metadata.chain()[1].annotations
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# severity: MEDIUM
# rulenumber: 005_0001
# remediation: Always check a string for empty based on != empty and != "". The first one equals database NULL value, the latter one indicates a truncated string.
# input: "*/**/*$Microflow.yaml"
# input: "**/*$Microflow.yaml"
package app.mendix.microflows.empty_string_check_not_complete
import rego.v1
annotation := rego.metadata.chain()[1].annotations
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# severity: MEDIUM
# rulenumber: 005_0002
# remediation: Consider committing objects outside the loop. Within the loop, add them to a list.
# input: "*/**/*$Microflow.yaml"
# input: "**/*$Microflow.yaml"
package app.mendix.microflows.commit_actions_with_a_loop

import rego.v1
Expand Down

0 comments on commit 45224a4

Please sign in to comment.