We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A pattern matching in quotations does not work properly.
rule
version: "1" rules: - id: "test" title: "test" language: hcl message: "test" patterns: - pattern: | resource "test" :[NAME] { :[...SETTINGS] member = ":[_]" }
target code
resource "test" "bad_example" { role = "roles/admin" member = "serviceAccount:${google_service_account.test.email}" }
It should match the pattern but it does not.
N/A
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description of the bug
A pattern matching in quotations does not work properly.
Steps to Reproduce
rule
target code
Expected Behaviour
It should match the pattern but it does not.
Additional Materials
N/A
The text was updated successfully, but these errors were encountered: