Skip to main content

Policy

Represents a collection of security rules to be applied during a scan. Structure: Dict[PolicyName, PolicyValue]
  • The dictionary keys are members of the PolicyName enum.
  • The dictionary values (PolicyValue) are configuration objects, each requiring at least an action key.

Policy-Specific Configurations

The structure of the configuration object depends on the specific policy being configured.

ApiResult

The structured result from an Argus API scan.

AppliedPolicyInfo

Details of a policy that was evaluated by the backend. This model is used in the policies_applied list within ApiResult.

ViolatedPolicyInfo

Details of a policy that found a violation. This model is used in the policies_violated list within ApiResult.

details Object Schema by Policy

The structure of the details object within ViolatedPolicyInfo is unique to the policy that was triggered.

GuardrailEvent

A comprehensive event object captured by a guardrail. It contains the full context and result of a single analysis.