Looking at real findings in the Security Command Center, as of **2021-04-14**, we can see that the field `ProjectId` in the SHA findings: ``` SourceProperties.ProjectId = "PROJECT_ID" ``` has been **removed**. The parsing of the [SHA findings](https://github.com/GoogleCloudPlatform/security-response-automation/tree/master/providers/sha) needs to be updated to extract the project id from the `ResourcePath` property ``` SourceProperties.ResourcePath = [ "projects/PROJECT_ID/", "folders/0000000000000/", "organizations/0000000000000/" ] ``` Without this fix, all the SHA remediations will miss the project id and will fail at the check to see if the project is allowed for remediation.
Looking at real findings in the Security Command Center, as of 2021-04-14,
we can see that the field
ProjectIdin the SHA findings:has been removed.
The parsing of the SHA findings needs to be updated to extract the project id from the
ResourcePathpropertyWithout this fix, all the SHA remediations will miss the project id and will fail at the check to see if the project is allowed for remediation.