You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement Role-Based Access Control (RBAC) and Least Privilege
Use Secure Remote State Storage and Locking
Mitigate Drift and Enforce Compliance
// Sentinel policy to prevent open security groups in AWSimport"tfplan/v2"astfplansecurity_groups=filtertfplan.resource_changesas_,rc{rc.modeis"managed"andrc.typeis"aws_security_group"andrc.change.actionsisnot["delete"]}main=rule{allsecurity_groupsas_,sg{allsg.change.after.egressasegress{egress.cidr_blocksnotcontains"0.0.0.0/0"}}}