https://github.com/softchris/security-demo
https://github.com/softchris/security-demo
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/softchris/security-demo
- Owner: softchris
- Created: 2024-11-18T13:27:28.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-18T13:51:31.000Z (over 1 year ago)
- Last Synced: 2025-08-08T12:37:55.884Z (12 months ago)
- Language: Python
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
You can follow these steps:
## Enable Push Protection:
- Go to your repository on GitHub.
- Navigate to Settings > Code security and analysis.
- Enable Push protection under the Secret scanning section.
### Create a Secret:
- Add a secret to your repository to simulate a sensitive data leak. For example, add a fake API key or password in your code.
- Create a GitHub Action:
- Create a GitHub Action workflow that includes a step to push code containing the secret. This will trigger the push protection feature.