actions

Get an enterprise Actions policy

Get a specific Actions policy for an enterprise.

get/enterprises/{enterprise}/actions/policies/{policy_id}

Path parameters

enterprisestring required

The slug version of the enterprise name.

policy_idinteger required

The ID of the policy.

Response

Response

idinteger required

The ID of the policy

namestring required

The name of the policy

target'actions' required

The target of the policy

source_type'Repository' | 'Organization' | 'Enterprise' required

The type of the source of the policy

sourcestring required

The name of the source

enforcement'disabled' | 'active' | 'evaluate' required

The enforcement level of the ruleset. evaluate allows admins to test rules before enforcing them. Admins can view insights on the Rule Insights page. evaluate is not available for the repository target.

node_idstring
created_atstring date-time
updated_atstring date-time

Changes