Skip to content

Commit

Permalink
add check for unresolved variables
Browse files Browse the repository at this point in the history
  • Loading branch information
gaurav-gogia committed May 11, 2021
1 parent 9ac1667 commit 83533de
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package accurics

{{.prefix}}hardCodedShellScript[res.id]{
res = input.aws_instance[_]
not startswith(res.config.user_data_base64, "$")
value = base64NullCheck(res.config.user_data_base64)
startswith(value, "#!/")
}
Expand Down

0 comments on commit 83533de

Please sign in to comment.