accept_risk
Accept the risk of findings with a mandatory expiration date, automatically reactivating them upon expiry.
Instructions
Accept the risk of one or more findings (risk acceptance with mandatory expiration date).
Creates a RiskAcceptance object. The expiration date is MANDATORY: findings are reactivated automatically when it passes (unless reactivate_expired=False). Risk acceptance is discouraged in favor of fixing; always require an explicit business justification and a named approver.
Args: finding_ids: List of finding IDs to accept accepted_by: Name/email of the person accepting the risk justification: Business justification for accepting expiration_date: Mandatory expiration (ISO date "YYYY-MM-DD" or full ISO datetime). Must be in the future. decision: Risk treatment by risk owner: A=Accept, V=Avoid, M=Mitigate, F=Fix, T=Transfer decision_details: Details of the decision / compensating controls recommendation: Security team recommendation: A=Accept, V=Avoid, M=Mitigate, F=Fix, T=Transfer recommendation_details: Details of the recommendation reactivate_expired: Reactivate findings when the acceptance expires (default True) restart_sla_expired: Restart SLA when the acceptance expires (default False) owner_id: Owner user ID (defaults to the authenticated user) name: Acceptance name (defaults to "Risk acceptance ( findings)")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| decision | No | ||
| owner_id | No | ||
| accepted_by | Yes | ||
| finding_ids | Yes | ||
| justification | Yes | ||
| recommendation | No | ||
| expiration_date | Yes | ||
| decision_details | No | ||
| reactivate_expired | No | ||
| restart_sla_expired | No | ||
| recommendation_details | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||