-
Notifications
You must be signed in to change notification settings - Fork 2
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
feat/prowler shared workflow for AWS and GCP #146
Conversation
.github/workflows/prowler.yml
Outdated
secrets: | ||
WIP: | ||
required: false | ||
description: 'WIP' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
give proper description
.github/workflows/prowler.yml
Outdated
token_format: access_token | ||
workload_identity_provider: ${{ secrets.WIP }} | ||
service_account: ${{ secrets.SERVICE_ACCOUNT }} | ||
access_token_lifetime: 300s |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pass access_token_lifetime value in inputs and set default value
.github/workflows/prowler.yml
Outdated
aws-session-token: ${{ secrets.AWS_SESSION_TOKEN }} | ||
role-to-assume: ${{ secrets.BUILD_ROLE }} | ||
aws-region: ${{ inputs.aws_region }} | ||
role-duration-seconds: 900 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pass value in inputs
Prowler workflow for GCP and AWS