Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: add test coverage for missing permissions #1123

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Feb 7, 2024

  1. test: add test coverage for missing permissions

    There are multiple issues with missing permission, though they all share
    the same KNV2004 error code.
    This commit adds test coverage for the following scenarios:
    1. A GSA doesn't exist when using gcpserviceaccount
    2. A GSA exists, but it is not impersonated with a KSA.
    3. A GSA exists and is impersonated, but it doesn't have reader
       permission.
    4. A WI+KSA doesn't have reader permission.
    nan-yu committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    c900b86 View commit details
    Browse the repository at this point in the history