Skip to content
This repository was archived by the owner on Nov 19, 2023. It is now read-only.
This repository was archived by the owner on Nov 19, 2023. It is now read-only.

SCC SHA Findings removed sourceProperties.projectId field #205

Description

@daniel-cit

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 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions