From ae795c53b1415ccd71b25de8b3eeff26f9fbd454 Mon Sep 17 00:00:00 2001 From: Ruud Senden <8635138+rsenden@users.noreply.github.com> Date: Fri, 13 Sep 2024 11:42:24 +0200 Subject: [PATCH] chore: Update FoD check-policy action --- .../fortify/cli/fod/actions/zip/check-policy.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/fcli-core/fcli-fod/src/main/resources/com/fortify/cli/fod/actions/zip/check-policy.yaml b/fcli-core/fcli-fod/src/main/resources/com/fortify/cli/fod/actions/zip/check-policy.yaml index 94f50a0a95..f322a25158 100644 --- a/fcli-core/fcli-fod/src/main/resources/com/fortify/cli/fod/actions/zip/check-policy.yaml +++ b/fcli-core/fcli-fod/src/main/resources/com/fortify/cli/fod/actions/zip/check-policy.yaml @@ -2,10 +2,13 @@ author: Fortify usage: - header: (SAMPLE) Check security policy. + header: Check security policy. description: | - This sample action demonstrates how to implement a security policy using - fcli actions, returning a non-zero exit code if any of the checks fail. + This action checks the outcome of the FoD Security Policy, returning a non-zero + exit code if FoD Security Policy status is Fail. Having this defined in an fcli + action allows for users to implement custom security policy checks through a + custom action, for example if they need more granuality than what's provided + by the standard FoD Security Policy. defaults: requestTarget: fod @@ -20,7 +23,4 @@ steps: - check: - displayName: FoD Security Policy must Pass passIf: ${parameters.release.isPassed} - - check: - - displayName: FoD Star rating must be at least 2 stars - passIf: ${parameters.release.rating>=2}