Skip to content

Add Gitleaks GitHub Action - #81

Open
Scott-James-Hurley wants to merge 3 commits into
mainfrom
934_add_gitleaks_github_action
Open

Scott-James-Hurley wants to merge 3 commits into
mainfrom
934_add_gitleaks_github_action

Conversation

@Scott-James-Hurley

Copy link
Copy Markdown

Part of: https://github.com/isisbusapps/ISISBusApps/issues/934

The purpose of this workflow is to detect potential secrets that have been pushed to GitHub and alert us. I will add the Gitleaks license and list of users to alert as secrets to this repo. I think the rules that Gitleaks checks against should be considered sensitive so I plan on adding them to Vault for use with this workflow.

@ACLay ACLay left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think we'll probably want the secrets to be set up at the organisation level (I think that's something @ffionalys has been involved with before?) rather than just in this repo so that they can be accessed when the action's used in other repos.

Can we get the secret set up on vault to see the action running successfully here?

Comment thread .github/workflows/secrets_check.yml Outdated
workflow_call:
jobs:
scan:
runs-on: ubuntu-latest

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

If this is going to connect to our onsite vault instance, I think we'll want the runner to be fase-self-hosted, which uses one of our own VM's instead of an ubuntu-latest VM which is provided by github.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I checked the org secrets and the vault stuff isn't on there you can add it with the CI account

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants