Skip to content

Commit

Permalink
Simplify recommendation message
Browse files Browse the repository at this point in the history
  • Loading branch information
sagic-orca committed Dec 3, 2023
1 parent 6a96d0b commit 7c82683
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/annotator.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ const core = require("@actions/core");

function getSecretDetails(secretResults) {
let details = secretResults.catalog_control["details"] || `${secretResults.catalog_control["title"]} secret was found`;
let recommendation = `Take immediate action to mitigate the risk of the identified hard-coded secret by locating
where it is used, revoking it, and ensuring it is update in all dependent systems.`;
let recommendation = `Take immediate action to mitigate the risk of the identified secret by locating
where it is used, revoking it, and ensuring it is updated in all dependent systems.`;
return `Details:\n${wrapWords(details)}\n\nRecommendation:ֿ\n${wrapWords(recommendation)}`;
}

Expand Down

0 comments on commit 7c82683

Please sign in to comment.