Skip to content

Conversation

@penguinjournals
Copy link
Contributor

Why: Image scanning is run from inside a container. As it needs to get the image from the registry it needs a token to get it from the registry.
How to avoid security issues: As in the next implementation scanning will be run from within cloudrun which has needed permissions and won't need a token.
Warning: Organization users musn't be able to impersonate as the created service account.

@penguinjournals penguinjournals requested a review from a team as a code owner October 6, 2022 08:28
Comment on lines 3 to 6
# Why: Image scanning is run from inside a container. As it needs to get the image from the registry it needs a token to get it from the registry.
# How to avoid security issues: As in the next implementation scanning will be run from within cloudrun which has needed permissions and won't need a token.
# Warning: Organization users musn't be able to impersonate as the created service account.
#ts:skip=AC_GCP_0006
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

non-blocking, but just to enhance understandably, would change order of the comments

ex.:

# AC_GCP_006
# Warning: Organization users musn't be able to impersonate as the created service account.
# Why: Image scanning is run from inside a container. As it needs to get the image from the registry it needs a token to get it from the registry.
# How to avoid security issues: As in the next implementation scanning will be run from within cloudrun which has needed permissions and won't need a token.
#ts:skip=AC_GCP_0006

wideawakening
wideawakening previously approved these changes Oct 6, 2022
@penguinjournals penguinjournals enabled auto-merge (squash) October 7, 2022 07:15
@hayk99 hayk99 self-requested a review October 7, 2022 07:19
@jprieto92 jprieto92 self-requested a review October 11, 2022 10:52
@penguinjournals penguinjournals merged commit 595d1a6 into master Oct 11, 2022
@penguinjournals penguinjournals deleted the fix-terrascan-compliance branch October 11, 2022 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants