{"type":"api","title":"Get NAT policy remediation plan","meta":{"id":"/apps/pubhub/media/cdo-api-documentation/fc190292ad0b98625f6b6f66a66acd09c1059a4d/9b0e4c9a-48cb-3530-a00a-1f32fbf2438c","info":{"title":"Cisco Security Cloud Control Firewall Manager API","version":"1.23.0","description":"Use the documentation to explore the endpoints Security Cloud Control Firewall Manager has to offer","contact":{"name":"Cisco Security Cloud Control TAC","email":"cdo.tac@cisco.com"}},"openapi":"3.0.1","servers":[{"url":"https://api.us.security.cisco.com/firewall","description":"US"},{"url":"https://api.eu.security.cisco.com/firewall","description":"EU"},{"url":"https://api.apj.security.cisco.com/firewall","description":"APJ"},{"url":"https://api.au.security.cisco.com/firewall","description":"AUS"},{"url":"https://api.in.security.cisco.com/firewall","description":"IN"},{"url":"https://api.uae.security.cisco.com/firewall","description":"UAE"},{"url":"https://api.int.security.cisco.com/firewall","description":"Staging"},{"url":"https://scale.manage.security.cisco.com/api/rest","description":"Scale"},{"url":"https://ci.manage.security.cisco.com/api/rest","description":"CI"},{"url":"https://devfed.cdo.cisco.com/api/rest","description":"Devfed"},{"url":"https://manage.dev.secure.cisco/api/rest","description":"Devf9"},{"url":"https://manage.stg.secure.cisco/api/rest","description":"Stgf9"},{"url":"https://manage.secure.cisco/api/rest","description":"ProdF9"},{"url":"https://manage.securitydod.cisco/api/rest","description":"IL5"}],"securitySchemes":{"bearerAuth":{"bearerFormat":"JWT","scheme":"bearer","type":"http"}}},"spec":{"description":"Gets the saved remediation plan for the specified NAT policy analysis. The plan includes the selected actions for shadowed and redundant rules and the total number of rules selected for deletion or disablement. If no plan has been saved, an empty plan is returned.","operationId":"getNatRemediationActions","parameters":[{"description":"The unique identifier of the NAT policy analysis.","example":"a276b855-feb7-4774-863f-569f2826f3f5","in":"path","name":"insightUid","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"The remediation plan for a NAT policy analysis.","properties":{"insightUid":{"description":"The unique identifier of the NAT policy analysis.","example":"ed189db6-3c46-463f-9615-72230044be2a","type":"string"},"redundantRulesActions":{"description":"The remediation actions selected for redundant NAT rules.","items":{"description":"The remediation actions selected for a rule conflict observation.","properties":{"action":{"description":"The remediation action to apply to all shadowed or redundant rules in this observation if `ruleActions` is omitted, null, or empty.","enum":["DELETE","DISABLE"],"example":"DELETE","type":"string"},"observationId":{"description":"The unique identifier of the rule conflict observation.","example":"observation-1","minLength":1,"type":"string"},"ruleActions":{"description":"The remediation actions selected for individual NAT rules. If this list is not empty, these actions are used instead of the observation action.","items":{"description":"The remediation action selected for a NAT rule.","properties":{"action":{"description":"The remediation action to apply to the NAT rule.","enum":["DELETE","DISABLE"],"example":"DISABLE","type":"string"},"ruleId":{"description":"The unique identifier of the NAT rule.","example":"ed189db6-3c46-463f-9615-72230044be2a","minLength":1,"type":"string"}},"required":["action","ruleId"],"type":"object","$$ref":"#/components/schemas/RuleRemediationActionDto"},"type":"array"}},"required":["observationId"],"type":"object","$$ref":"#/components/schemas/ObservationRemediationActionDto"},"type":"array"},"shadowedRulesActions":{"description":"The remediation actions selected for shadowed NAT rules.","items":{"description":"The remediation actions selected for a rule conflict observation.","properties":{"action":{"description":"The remediation action to apply to all shadowed or redundant rules in this observation if `ruleActions` is omitted, null, or empty.","enum":["DELETE","DISABLE"],"example":"DELETE","type":"string"},"observationId":{"description":"The unique identifier of the rule conflict observation.","example":"observation-1","minLength":1,"type":"string"},"ruleActions":{"description":"The remediation actions selected for individual NAT rules. If this list is not empty, these actions are used instead of the observation action.","items":{"description":"The remediation action selected for a NAT rule.","properties":{"action":{"description":"The remediation action to apply to the NAT rule.","enum":["DELETE","DISABLE"],"example":"DISABLE","type":"string"},"ruleId":{"description":"The unique identifier of the NAT rule.","example":"ed189db6-3c46-463f-9615-72230044be2a","minLength":1,"type":"string"}},"required":["action","ruleId"],"type":"object","$$ref":"#/components/schemas/RuleRemediationActionDto"},"type":"array"}},"required":["observationId"],"type":"object","$$ref":"#/components/schemas/ObservationRemediationActionDto"},"type":"array"},"totalDeletedCount":{"description":"The total number of unique NAT rules selected for deletion.","example":2,"format":"int32","readOnly":true,"type":"integer"},"totalDisabledCount":{"description":"The total number of unique NAT rules selected to be disabled.","example":1,"format":"int32","readOnly":true,"type":"integer"}},"type":"object","$$ref":"#/components/schemas/RemediationActionsDto"}}},"description":"NAT policy remediation plan"},"400":{"content":{"application/json":{"schema":{"properties":{"details":{"additionalProperties":{"description":"Additional details, if any, about the error.","example":{},"type":"object"},"description":"Additional details, if any, about the error.","example":{},"type":"object"},"errorCode":{"description":"Unique code that describes the error.","enum":["INVALID_INPUT","UNAUTHORIZED","FORBIDDEN","NOT_FOUND","METHOD_NOT_ALLOWED","CONFLICT","TOO_MANY_REQUESTS","SERVER_ERROR","PROXY_ERROR","BAD_REQUEST","UNPROCESSABLE_ENTITY"],"example":"INVALID_INPUT","type":"string"},"errorMsg":{"description":"Human-readable error description in English.","example":"sample error","type":"string"}},"type":"object","$$ref":"#/components/schemas/CommonApiError"}}},"description":"Invalid input provided. Check the response for details.","$$ref":"#/components/responses/http400BadRequest"},"401":{"content":{"application/json":{"schema":{"properties":{"error":{"description":"A human-readable error description in English.","example":"invalid_token","type":"string"},"errorDescription":{"description":"A human-readable error description in English.","example":"Your token is invalid","type":"string"}},"type":"object","$$ref":"#/components/schemas/AuthenticationError"}}},"description":"Request not authorized.","$$ref":"#/components/responses/http401Unauthorised"},"403":{"content":{"application/json":{"schema":{"properties":{"details":{"additionalProperties":{"description":"Additional details, if any, about the error.","example":{},"type":"object"},"description":"Additional details, if any, about the error.","example":{},"type":"object"},"errorCode":{"description":"Unique code that describes the error.","enum":["INVALID_INPUT","UNAUTHORIZED","FORBIDDEN","NOT_FOUND","METHOD_NOT_ALLOWED","CONFLICT","TOO_MANY_REQUESTS","SERVER_ERROR","PROXY_ERROR","BAD_REQUEST","UNPROCESSABLE_ENTITY"],"example":"INVALID_INPUT","type":"string"},"errorMsg":{"description":"Human-readable error description in English.","example":"sample error","type":"string"}},"type":"object","$$ref":"#/components/schemas/CommonApiError"}}},"description":"User does not have sufficient privileges to perform this operation.","$$ref":"#/components/responses/http403Forbidden"},"404":{"content":{"application/json":{"schema":{"properties":{"details":{"additionalProperties":{"description":"Additional details, if any, about the error.","example":{},"type":"object"},"description":"Additional details, if any, about the error.","example":{},"type":"object"},"errorCode":{"description":"Unique code that describes the error.","enum":["INVALID_INPUT","UNAUTHORIZED","FORBIDDEN","NOT_FOUND","METHOD_NOT_ALLOWED","CONFLICT","TOO_MANY_REQUESTS","SERVER_ERROR","PROXY_ERROR","BAD_REQUEST","UNPROCESSABLE_ENTITY"],"example":"INVALID_INPUT","type":"string"},"errorMsg":{"description":"Human-readable error description in English.","example":"sample error","type":"string"}},"type":"object","$$ref":"#/components/schemas/CommonApiError"}}},"description":"Entity not found.","$$ref":"#/components/responses/http404NotFound"},"405":{"content":{"application/json":{"schema":{"properties":{"details":{"additionalProperties":{"description":"Additional details, if any, about the error.","example":{},"type":"object"},"description":"Additional details, if any, about the error.","example":{},"type":"object"},"errorCode":{"description":"Unique code that describes the error.","enum":["INVALID_INPUT","UNAUTHORIZED","FORBIDDEN","NOT_FOUND","METHOD_NOT_ALLOWED","CONFLICT","TOO_MANY_REQUESTS","SERVER_ERROR","PROXY_ERROR","BAD_REQUEST","UNPROCESSABLE_ENTITY"],"example":"INVALID_INPUT","type":"string"},"errorMsg":{"description":"Human-readable error description in English.","example":"sample error","type":"string"}},"type":"object","$$ref":"#/components/schemas/CommonApiError"}}},"description":"Method not allowed.","$$ref":"#/components/responses/http405MethodNotAllowed"},"500":{"content":{"application/json":{"schema":{"properties":{"details":{"additionalProperties":{"description":"Additional details, if any, about the error.","example":{},"type":"object"},"description":"Additional details, if any, about the error.","example":{},"type":"object"},"errorCode":{"description":"Unique code that describes the error.","enum":["INVALID_INPUT","UNAUTHORIZED","FORBIDDEN","NOT_FOUND","METHOD_NOT_ALLOWED","CONFLICT","TOO_MANY_REQUESTS","SERVER_ERROR","PROXY_ERROR","BAD_REQUEST","UNPROCESSABLE_ENTITY"],"example":"INVALID_INPUT","type":"string"},"errorMsg":{"description":"Human-readable error description in English.","example":"sample error","type":"string"}},"type":"object","$$ref":"#/components/schemas/CommonApiError"}}},"description":"Internal server error."}},"security":[{"bearerAuth":[]}],"summary":"Get NAT policy remediation plan","tags":["NAT Remediation APIs"],"x-in-dev":"true","__originalOperationId":"getNatRemediationActions","method":"get","path":"/v1/agenticops/policies/nat/analysis/insights/{insightUid}/remediation-plans"}}