Skip to content

Commit

Permalink
chore: Update FoD check-policy action
Browse files Browse the repository at this point in the history
  • Loading branch information
rsenden committed Sep 16, 2024
1 parent 388981a commit ae795c5
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}

0 comments on commit ae795c5

Please sign in to comment.