cyberark / secrets-provider-for-k8s

Cyberark secrets provider for k8s
Apache License 2.0
26 stars 11 forks source link

Validate log messages #460

Closed szh closed 2 years ago

szh commented 2 years ago

Desired Outcome

Add a Jenkins step to validate log message files such as this and alert to any mismatches between the IDs of the const variables and the IDs in the actual message string. It is common to copy and paste lines from these files and simply change the message and increment the number in the variable name, but forget to change the ID in the message string. This script would detect this automatically. An example of where this mistake happened can be found here

Implemented Changes

Connected Issue/Story

N/A

Definition of Done

Changelog

Test coverage

Documentation

Behavior

Security

codeclimate[bot] commented 2 years ago

Code Climate has analyzed commit a24f7469 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 89.2% (0.0% change).

View more on Code Climate.