Match entire GCP Service Account private_key field
What does this MR do?
Adjusts the pattern for GCP Service Account tokens so the entire private_key
JSON line is matched.
https://regex101.com/r/eoGcAB/1
What are the relevant issue numbers?
- https://gitlab.com/gitlab-org/gitlab/-/issues/396980 (team-members only)
- https://gitlab.com/gitlab-org/gitlab/-/issues/254815#note_423859209 (team-members only)
- Improve regex specificity for GCP service accou... (gitlab-org/gitlab#399242)
Does this MR meet the acceptance criteria?
-
Changelog entry added -
If you are adding a new rule, a link to a regex101 example is included in the description -
Documentation created/updated for GitLab EE, if necessary -
Documentation created/updated for this project, if necessary -
Documentation reviewed by technical writer or follow-up review issue created -
Tests added for this feature/bug -
Job definition updated, if necessary -
Conforms to the code review guidelines -
Conforms to the Go guidelines -
Security reports checked/validated by reviewer
Edited by rossfuhrman