Using Console
Using CLI
<your-project-id>
with your actual GCP project ID.Using Python
<PROJECT_ID>
and <SERVICE_ACCOUNT_EMAIL>
with appropriate values.<FUNCTION_NAME>
and <TOPIC_NAME>
with appropriate values.After following these steps, your GCP project should be remediated for the misconfiguration “Custom Role Change Log Alerts Should Be Enabled”.