ast-cli
ast-cli copied to clipboard
AST-45352 - Add support for Checkmarx Azure AI
By submitting a PR to this repository, you agree to the terms within the Checkmarx Code of Conduct. Please see the contributing guidelines for how to create and submit a high-quality PR for this repo.
Description
Describe the purpose of this PR along with any background information and the impacts of the proposed change.
References
Include supporting link to GitHub Issue/PR number
Testing
Describe how this change was tested. Be specific about anything not tested and reasons why. If this solution has unit and/or integration testing, tests should be added for new functionality and existing tests should complete without errors.
Please include any manual steps for testing end-to-end or functionality not covered by unit/integration tests.
Checklist
- [ ] I have added documentation for new/changed functionality in this PR (if applicable).
- [ ] I have updated the CLI help for new/changed functionality in this PR (if applicable).
- [ ] All active GitHub checks for tests, formatting, and security are passing
- [ ] The correct base branch is being used
Checkmarx One – Scan Summary & Details – da409a31-3c3d-4a97-bac6-d14c5ebaa153
No New Or Fixed Issues Found
⚠️ GitGuardian has uncovered 16 secrets following the scan of your pull request.
Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.
🔎 Detected hardcoded secrets in your pull request
| GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
|---|---|---|---|---|---|
| 11482451 | Triggered | Generic Password | 5700c9ad81194e472e5b2715c790192fbfef8360 | internal/commands/data/python-vul-file.py | View secret |
| 11482449 | Triggered | Generic Password | 5700c9ad81194e472e5b2715c790192fbfef8360 | test/integration/data/python-vul-file.py | View secret |
| 11482443 | Triggered | Generic Password | 5700c9ad81194e472e5b2715c790192fbfef8360 | test/integration/data/python-vul-file.py | View secret |
| 11482446 | Triggered | Generic Password | 5700c9ad81194e472e5b2715c790192fbfef8360 | internal/commands/data/python-vul-file.py | View secret |
| 11482450 | Triggered | Generic Password | 5700c9ad81194e472e5b2715c790192fbfef8360 | test/integration/data/python-vul-file.py | View secret |
| 11482448 | Triggered | Generic Password | 5700c9ad81194e472e5b2715c790192fbfef8360 | internal/commands/data/python-vul-file.py | View secret |
| 11482448 | Triggered | Generic Password | 5700c9ad81194e472e5b2715c790192fbfef8360 | test/integration/data/python-vul-file.py | View secret |
| 11482450 | Triggered | Generic Password | 5700c9ad81194e472e5b2715c790192fbfef8360 | internal/commands/data/python-vul-file.py | View secret |
| 11482444 | Triggered | Username Password | 5700c9ad81194e472e5b2715c790192fbfef8360 | test/integration/data/python-vul-file.py | View secret |
| 11482445 | Triggered | Generic Password | 5700c9ad81194e472e5b2715c790192fbfef8360 | internal/commands/data/python-vul-file.py | View secret |
| 11482444 | Triggered | Username Password | 5700c9ad81194e472e5b2715c790192fbfef8360 | internal/commands/data/python-vul-file.py | View secret |
| 11482443 | Triggered | Generic Password | 5700c9ad81194e472e5b2715c790192fbfef8360 | internal/commands/data/python-vul-file.py | View secret |
| 11482451 | Triggered | Generic Password | 5700c9ad81194e472e5b2715c790192fbfef8360 | test/integration/data/python-vul-file.py | View secret |
| 11482449 | Triggered | Generic Password | 5700c9ad81194e472e5b2715c790192fbfef8360 | internal/commands/data/python-vul-file.py | View secret |
| 11482445 | Triggered | Generic Password | 5700c9ad81194e472e5b2715c790192fbfef8360 | test/integration/data/python-vul-file.py | View secret |
| 11482446 | Triggered | Generic Password | 5700c9ad81194e472e5b2715c790192fbfef8360 | test/integration/data/python-vul-file.py | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secrets safely. Learn here the best practices.
- Revoke and rotate these secrets.
- If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.
To avoid such incidents in the future consider
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.