Join Slack
Powered by
This message was deleted.
# atlantis-community
s
Slackbot
02/06/2024, 9:56 AM
This message was deleted.
r
RB
02/06/2024, 1:29 PM
Hmm you may want to use
conftest
with opa to see if there are any resources to delete.
a
Amit
02/06/2024, 9:46 PM
Thanks, I'll take a look.
g
Gabor Maghera
02/06/2024, 9:54 PM
We’re doing exactly that with resources where a destroy would result in dataloss (like dynamo tables).
e
Ed
02/08/2024, 8:40 AM
there's a default example for calculating blast radius which can be adjusted to do exactly that
https://www.openpolicyagent.org/docs/latest/terraform/#3-write-the-opa-policy-to-check-the-plan
👍 1
r
RB
02/08/2024, 2:08 PM
I think trivy (modern version of tfsec) also supports opa based rules •
https://aquasecurity.github.io/trivy/v0.49/docs/scanner/misconfiguration/policy/builtin/
•
https://github.com/aquasecurity/trivy-policies/tree/main/checks/cloud/aws
•
https://aquasecurity.github.io/trivy/v0.49/docs/scanner/misconfiguration/custom/
a
Amit
02/20/2024, 8:00 PM
I'm really bad at checking this Slack team. Thanks a lot,
@Ed
,
@Gabor Maghera
and
@RB
👍 2
Open in Slack
Previous
Next