Closed jordanpadams closed 11 months ago
All sub-tasks complete
@gxtchen this should be tested with a java repository (validate) and a python repository (doi-service).
Follow developers instructions, for example https://github.com/NASA-PDS/validate?tab=readme-ov-file#pre-commit-hooks-and-detect-secrets
Then add a password in a configuration file.
Create a branch, commit the change and push it to github.
The commit should not be pushed on github, there should be some kind of warning before.
@tloubrieu-jpl I am not sure what to modify for testing. I tried adding
Rather than a password (which may not have enough entropy to pass detection threshold), I would try a personal or made-up email address.
@nutjob4life thank you, got the error message.
🧑🔬 User Persona(s)
Manager / IT Security
💪 Motivation
...so that I can ensure access remains secure to our repos
📖 Additional Details
⚖️ Acceptance Criteria
Given a repository under NASA-PDS with the secrets detection enabled When I perform an update to the repo to include some username/password Then I expect the secrets detection to catch this upon push to the repo
⚙️ Engineering Details