diff --git a/docs/Thresholds-and-policies.md b/docs/Thresholds-and-policies.md index ef8d3f412..770411f0d 100644 --- a/docs/Thresholds-and-policies.md +++ b/docs/Thresholds-and-policies.md @@ -55,6 +55,15 @@ Under Branch policies configuration, enable Checkmarx scan as ‘required’ (ht CxFlow does not support blocking pull request in GitLab. If **block-merge: true and error-merge: true** then CxFlow will post status of vulnerability as comment but it will not block PR. +**AWS Code build (Buildspec)**: + +If the build is not breaking because the pipeline is not able to get the exit code, the user can add the following script to catch the exit code from the Cx-Flow logs. +```**** +export EXIT_CODE=$(grep 'Finished with exit code:' cx-flow.log | tail -1 |sed 's/.*: //') + +echo $EXIT_CODE +``` + ## Thresholds vs Basic filters By default, CxFlow uses the basic filter configuration to make a ‘break decision’.