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 lambdas #2047

Closed
wants to merge 1 commit into from

Conversation

thebauSoftwire
Copy link
Contributor

@thebauSoftwire thebauSoftwire commented Jun 20, 2024

Proposed changes

What changed

  • exclude secrets from build-user-identity and call-ticf-cri lambdas

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

@@ -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.

Similar comment as here but this secret also gets flagged in a json file

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.

@Joe-Edwards-GDS
Copy link
Contributor

Superseded by other PR

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