https://pulumi.com logo
s

stocky-island-3676

04/22/2020, 2:59 PM
Just checked policy-packs for the first time. Seems really promising 👍 1. Can you “acknowledge” a CrossGuard-policy,
enforcementLevel: "advisory"
, directly at the resource? To get this check out of the list of policy violations. Similar like
nolint
flags. 2. How can you check if a value is a secret value, i.e. encrypted in the stack? Just read that secrets are unencrypted in policy-pack checks.
m

microscopic-pilot-97530

04/23/2020, 5:22 PM
Thanks for the questions, Dominik!
Can you “acknowledge” a CrossGuard-policy, enforcementLevel: “advisory”, directly at the resource? To get this check out of the list of policy violations. Similar like nolint flags.
We don’t currently have a way to do this, but it’s on our radar. I thought we had an existing issue tracking this, but couldn’t find it, so I went ahead and opened https://github.com/pulumi/pulumi-policy/issues/240.
How can you check if a value is a secret value
There isn’t currently a way to do this so I’ve opened https://github.com/pulumi/pulumi-policy/issues/241 to track the suggestion. Please feel free to upvote and add more details on these issues. Thanks!
s

stocky-island-3676

04/24/2020, 7:05 AM
@microscopic-pilot-97530 Thanks for the answers & issues. Just one note: We’re a Pulumi customer. Just mentioning this as you normally note this in the issues, I guess for prioritising stuff 🙂
BTW: The
pulumi-policy
repo doesn’t have any topics in it, yet. I suggest to set at least
pulumi
,
policy
. I’m not sure if adding the languages as topics is necessary. I think it wouldn’t hurt, on the other side. Github’s topic listing seems to infer the language(s) from the code in the repo. E.g. for topic:policy, language:Typescript it would be easy to rank in the top 3 🙂
m

microscopic-pilot-97530

04/24/2020, 3:50 PM
Edited those issues to indicate they indeed came from a customer. Great suggestion on adding the repo topics, thanks! Done. 😄
s

stocky-island-3676

04/24/2020, 4:02 PM
Yeah 👍 Now the repos have enough marketing topics 😉
Oh, don’t forget
javascript
on the
pulumi-policy
repo.
👍 1