heroui logo

GCP Cloud Run Set IAM Policy

Panther Rules

View Source
Summary
This rule detects when new roles are granted to users for Google Cloud Run services through the Cloud Audit Logs. By monitoring the IAM policy changes related to Cloud Run, the rule aims to identify potentially unauthorized access or privileges that may threaten the security of cloud resources. A critical aspect of this rule is its focus on the IAM policy modifications, specifically looking for instances where the permission 'run.services.setIamPolicy' is granted to users. It assesses each log entry against predefined expected results to determine whether an action aligns with acceptable security practices. The high severity indicates that unauthorized adjustments could lead to serious security vulnerabilities, hence the necessity to verify and validate any changes made to IAM roles concerning Cloud Run services. The rule is enabled and set to deduplicate alerts within a 60-minute window for efficiency during operations.
Categories
  • Cloud
  • GCP
  • Kubernetes
  • Application
Data Sources
  • Group
  • User Account
  • Cloud Service
  • Logon Session
  • Logon Session
Created: 2024-07-09