Skip to content

Regex in Prowler AllowList #1284

Answered by MrCloudSec
gregorschulz asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @gregorschulz, the problem here is that the allowlist feature in Prowler uses the result extended field to match, you can check it here https://github.com/prowler-cloud/prowler/blob/master/include/outputs#L244

So, for your use case the bash regex operation which is being executed is the following:

us-east-1: abucket.de bucket is Public! =~ ^abucket\.de$

As you can see above, this regex is not going to match, so you need to change your allowlist to this:

extra73:abucket\.de
extra73:open\.abucket\.de

Please, let us know if this works for you.

Thanks!

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@gregorschulz
Comment options

@jfagoagas
Comment options

Answer selected by MrCloudSec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants