Gate: stig

Introduction

The STIG policy gate is intended to deny an image that does not have at least one companion STIG evaluation stored alongside of it. The STIG evaluation can be generated by using an AnchoreCTL workflow that will generate and upload it to your Anchore Enterprise deployment. For more information on the Anchore STIG feature, please see the Anchore STIG documentation.

Example Use-case

Scenario 1

Goal: Create a rule that results in a STOP action for images that do not contain a STIG evaluation.

Example rule set configuration in Anchore Enterprise

Gate: stig
Trigger: no stig evaluations available
Required Parameters: n/a
Recommendations (optional): “Perform STIG evaluation on image”
Action: STOP

no_evals

Scenario 2

Goal: Create a rule that results in a STOP action for images where the uploaded STIG evaluations is older than 7 days.

Example rule set configuration in Anchore Enterprise

Gate: stig
Trigger: stig evaluations outdated
Required Parameters: max days since stig evaluation = “7”
Recommendations (optional): “Perform new STIG evaluation on image”
Action: STOP

outdated_evals

Reference: stig

Trigger NameDescriptionParameterDescriptionExample
no stig evaluations availableTriggers if Anchore does not have STIG evaluations for this imagen/an/an/a
stig evaluations outdatedTriggers if all of the uploaded STIG evaluations are outdatedmax days since stig evaluationThe maximum age (in days) for any STIG evaluation - an image won’t trigger as long as it has at least one STIG evaluation within this window.7
Last modified July 2, 2025