gcf/Default Service Account Check
Check if cloud run function default service account and agent exists and is enabled.
Product: Cloud Functions
Step Type: AUTOMATED STEP
Description
None
Failure Reason
The cloud run function service agent or default service account either do not exist or are not enabled: https://cloud.google.com/functions/docs/concepts/iam#access_control_for_service_accounts
Failure Remediation
Review the IAM roles guide for providing default roles to cloud run function default service account and the service agent: https://cloud.google.com/functions/docs/concepts/iam#serviceaccount
Success Reason
The service agent and default service account exists and are enabled.