Skip to content
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

PYIC-6710: exclude secrets from process cri callback #2037

Draft
wants to merge 20 commits into
base: main
Choose a base branch
from

Conversation

thebauSoftwire
Copy link
Contributor

@thebauSoftwire thebauSoftwire commented Jun 19, 2024

Proposed changes

What changed

  • excluding secrets from process-cri-callback

Why did it change

The .secrets.baseline file was being updated with new secrets every time a "secret" was detected. Instead, we should use rules to avoid false positives being added to the baseline. This means we'll have less conflicts as the only changes made to the baseline should be if the filters are updated.

Issue tracking

@thebauSoftwire thebauSoftwire requested review from a team as code owners June 19, 2024 14:17
@thebauSoftwire thebauSoftwire marked this pull request as draft June 19, 2024 16:17
@thebauSoftwire thebauSoftwire force-pushed the PYIC-6710-remove-secrets-in-contract-tests branch from 23d2c17 to 52ad495 Compare June 20, 2024 14:27
@thebauSoftwire thebauSoftwire force-pushed the PYIC-6710-exclude-secrets-from-process-cri-callback branch from 6b4f4e5 to 4ef2323 Compare June 20, 2024 14:55
@thebauSoftwire thebauSoftwire changed the base branch from PYIC-6710-remove-secrets-in-contract-tests to PYIC-6710 June 20, 2024 14:56
@@ -115,7 +115,8 @@
"pattern": [
"(?i)dummyapikey",
"(?i)test-secret",
"^x-api-key$"
"^x-api-key$",
"^1f9d73167e2166b707c6$"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Same comment as here: #2036 (comment)

Copy link

sonarcloud bot commented Jun 20, 2024

sam803
sam803 previously approved these changes Jun 21, 2024
Base automatically changed from PYIC-6710 to main June 24, 2024 11:20
@DanCorderIPV DanCorderIPV dismissed sam803’s stale review June 24, 2024 11:20

The base branch was changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants