You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our Service Account to run signer is hosted in project-a while our images are hosted in a GCR in project-b. We have given service account all required roles in project-b and enabled Container Analysis API in project-b
However, when we run the signer below is what it is complaining
main.go:191] Error waiting for vulnerability analysis it.Next: rpc error: code = PermissionDenied desc = Container Analysis API has not been used in project {project-a} before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/containeranalysis.googleapis.com/overview?project={project-a} then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.
Why do we need to enable that in project-a as all activities happen in project-b?
The text was updated successfully, but these errors were encountered:
I think it's because the metadata (Notes and Occurrences) are created in the same project as the signer. Could you please confirm this is the case @ooq?
@CharmanderJieniJieni You're right. Creating notes and attestations (occurrences) would require the Container Analysis API to be enabled in that project too.
Our Service Account to run signer is hosted in project-a while our images are hosted in a GCR in project-b. We have given service account all required roles in project-b and enabled Container Analysis API in project-b
However, when we run the signer below is what it is complaining
main.go:191] Error waiting for vulnerability analysis it.Next: rpc error: code = PermissionDenied desc = Container Analysis API has not been used in project {project-a} before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/containeranalysis.googleapis.com/overview?project={project-a} then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.
Why do we need to enable that in project-a as all activities happen in project-b?
The text was updated successfully, but these errors were encountered: