{"type":"api","title":"Get All Health Policy","meta":{"id":"/apps/pubhub/media/cdo-api-documentation/ee9bdf946673e45c4f256a22e0a754e29a9b2098/54f4ba30-7fe2-3433-bbd5-a4d458aee37e","info":{"title":"Cisco Cloud-delivered Firewall Management Center (cdFMC) API","version":"1.15.0","description":"Use the documentation to explore the endpoints the cdFMC has to offer","contact":{"name":"Cisco Firepower TAC","email":"ngfw-support@cisco.com"}},"tags":[{"name":"Analysis"},{"name":"Audit"},{"name":"Backup"},{"name":"Change Management"},{"name":"Chassis"},{"name":"Deployment"},{"name":"Device Clusters"},{"name":"Device Groups"},{"name":"Device HA Pairs"},{"name":"Devices"},{"name":"Health"},{"name":"Integration"},{"name":"Intelligence"},{"name":"License"},{"name":"Network Map"},{"name":"Object"},{"name":"Policy"},{"name":"Policy Assignments"},{"name":"Search"},{"name":"Status"},{"name":"System Configuration"},{"name":"System Information"},{"name":"Templates"},{"name":"Troubleshoot"},{"name":"Updates"},{"name":"Users"}],"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.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://manage.stg.secure.cisco/api/rest","description":"Stgf9"}],"securitySchemes":{"bearerAuth":{"bearerFormat":"JWT","scheme":"bearer","type":"http"}}},"spec":{"deprecated":false,"description":"**Retrieves a list of Health policies.**","operationId":"getAllHealthPolicy","parameters":[{"description":"Filter criteria can be specified using the format \u003ccode\u003ename:policy_name;policyType:{DevicePolicy|ManagementCenterPolicy}\u003c/code\u003e\u003cbr/\u003e\u003cbr/\u003e\u003ccode\u003epolicy_name\u003c/code\u003e -- Name of the Health policy to be queried.","in":"query","name":"filter","required":false,"schema":{"type":"string"}},{"name":"domainUUID","description":"Domain UUID","in":"path","required":true,"schema":{"type":"string"},"$$ref":"#/components/parameters/domainUUID"},{"name":"offset","description":"Index of first item to return.","in":"query","required":false,"schema":{"format":"int32","type":"integer"},"$$ref":"#/components/parameters/offset"},{"name":"limit","description":"Number of items to return.","in":"query","required":false,"schema":{"format":"int32","type":"integer"},"$$ref":"#/components/parameters/limit"},{"name":"expanded","description":"If set to true, the GET response displays a list of objects with additional attributes.","in":"query","required":false,"schema":{"type":"boolean"},"$$ref":"#/components/parameters/expanded"}],"responses":{"200":{"content":{"application/json":{"examples":{"Example 1 : GET /api/fmc_config/v1/domain/DomainUUID/policy/healthpolicies?expanded=true ( Get all paginated Health policy objects )":{"value":{"items":[{"defaultPolicy":false,"description":"DevicePolicy","healthModules":[{"enabled":false,"moduleId":"hm_platform_faults","severity":"Critical","type":"FTD"},{"criticalThreshold":90,"customThresholds":[{"type":"Red-FC","value":99},{"type":"Yellow-FC","value":97}],"enabled":true,"moduleId":"hm_du","type":"FMC_FTD","warningThreshold":85},{"alertConfig":[{"enabled":false,"name":"snort-down"},{"enabled":false,"name":"nat-xlate-failed"},{"enabled":false,"name":"punt-limit"},{"enabled":true,"name":"conn-limit-exceeded"},{"enabled":false,"name":"nat-no-xlate-to-pat-pool"},{"enabled":false,"name":"pdts-punt-limit-exceeded"},{"enabled":false,"name":"snort-busy"},{"enabled":false,"name":"no-route"},{"enabled":true,"name":"nat-rpf-failed"}],"alertEnabled":true,"enabled":true,"moduleId":"hm_asp_drop","type":"FTD"}],"id":"6c770af4-94b6-11ee-833a-0d41577689c0","links":{"self":"https://u32c01p23-vrouter.cisco.com/api/fmc_config/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/policy/healthpolicies/6c770af4-94b6-11ee-833a-0d41577689c0"},"metadata":{"domain":{"id":"e276abec-e0f2-11e3-8169-6d9ed49b625f","name":"Global","type":"Domain"},"lastUser":{"id":"\u003cid\u003e","name":"\u003cname\u003e","type":"\u003ctype\u003e"},"timestamp":1702019787},"name":"Initial_Health_Policy 2023-12-07 04:09:31","policyType":"DevicePolicy","setting":{"alertEvaluationInterval":5,"certFileContent":"\u003ccontent\u003e","certFileName":"\u003cname\u003e","certFileType":"\u003ctype\u003e","certPassphrase":"","configType":"DIAL-OUT","dataCollectionInterval":1,"dialOutHosts":[{"host":"hostname","port":1234}],"enabledOpenConfig":true,"grpcPassword":"\u003cpassword\u003e","grpcUsername":"user1","readOnly":false},"type":"HealthPolicy"},{"defaultPolicy":false,"description":"Health Policy for Firewall Management Center","healthModules":[{"criticalThreshold":90,"customThresholds":[{"type":"Red-FC","value":99},{"type":"Yellow-FC","value":97}],"enabled":true,"moduleId":"hm_du","type":"FMC_FTD","warningThreshold":85},{"alertConfig":[{"enabled":true,"name":"alert_cpu","thresholds":[{"type":"red","value":90},{"type":"yellow","value":80}]}],"alertEnabled":true,"criticalThreshold":90,"enabled":true,"moduleId":"hm_cpu","type":"FMC_FTD","warningThreshold":80}],"id":"5405ee6f-2d28-4165-a3f3-6c3b4e320fdf","links":{"self":"https://u32c01p23-vrouter.cisco.com/api/fmc_config/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/policy/healthpolicies/5405ee6f-2d28-4165-a3f3-6c3b4e320fdf"},"metadata":{"domain":{"id":"e276abec-e0f2-11e3-8169-6d9ed49b625f","name":"Global","type":"Domain"},"lastUser":{"id":"\u003cid\u003e","name":"\u003cname\u003e","type":"\u003ctype\u003e"},"timestamp":1701922170},"name":"Firewall Management Center Health Policy","policyType":"ManagementCenterPolicy","setting":{"alertEvaluationInterval":5,"dataCollectionInterval":1,"enabledOpenConfig":false,"readOnly":false},"type":"HealthPolicy"}],"links":{"self":"https://example.cisco.com/api/fmc_config/v1/domain/DomainUUID/policy/healthpolicies?offset=0&limit=25&expanded=true"},"paging":{"count":2,"limit":25,"offset":0,"pages":1}}}},"schema":{"type":"object","properties":{"items":{"type":"array","properties":{"basePolicyID":{"type":"string"},"defaultPolicy":{"type":"boolean"},"description":{"type":"string"},"healthModules":{"items":{"type":"object","properties":{"alertConfig":{"items":{"type":"object","properties":{"enabled":{"type":"boolean"},"name":{"type":"string"},"thresholds":{"items":{"type":"object","properties":{"type":{"type":"string"},"value":{"format":"int32","type":"integer"}},"$$ref":"#/components/schemas/HealthThreshold"},"type":"array"}},"$$ref":"#/components/schemas/HealthAlertConfig"},"type":"array"},"alertEnabled":{"type":"boolean"},"criticalThreshold":{"format":"int32","type":"integer"},"customThresholds":{"items":{"type":"object","properties":{"type":{"type":"string"},"value":{"format":"int32","type":"integer"}},"$$ref":"#/components/schemas/HealthThreshold"},"type":"array"},"enabled":{"type":"boolean"},"moduleId":{"type":"string"},"severity":{"type":"string"},"type":{"type":"string"},"warningThreshold":{"format":"int32","type":"integer"}},"$$ref":"#/components/schemas/HealthModule"},"type":"array"},"id":{"type":"string"},"links":{"type":"object","description":"This defines the self referencing links for the given resource.","properties":{"parent":{"description":"Full resource URL path to reference the parent (if any) for this resource.","type":"string"},"self":{"description":"Full resource URL path to reference this particular resource.","type":"string"}},"$$ref":"#/components/schemas/ILinks"},"metadata":{"type":"object","description":"Defines read only details about the object - whether it is system defined, last user who modified the object etc.","properties":{"domain":{"description":"Defines the domains this instance belongs to (if applicable).","type":"object","properties":{"id":{"description":"Unique UUID of this domain","type":"string"},"links":{"description":"Links to the domain resource URLs.","type":"object","properties":{"parent":{"description":"Full resource URL path to reference the parent (if any) for this resource.","type":"string"},"self":{"description":"Full resource URL path to reference this particular resource.","type":"string"}},"$$ref":"#/components/schemas/ILinks"},"name":{"description":"Name of the domain.","type":"string"},"type":{"description":"Domain type definition (fixed).","type":"string"},"uuid":{"type":"string"}},"$$ref":"#/components/schemas/Domain"},"isLocked":{"type":"boolean"},"lastUser":{"description":"The last user who modified this instance.","type":"object","properties":{"id":{"description":"The unique UUID of the user","type":"string"},"links":{"description":"Contains the self referencing links to this resource","type":"object","properties":{"parent":{"description":"Full resource URL path to reference the parent (if any) for this resource.","type":"string"},"self":{"description":"Full resource URL path to reference this particular resource.","type":"string"}},"$$ref":"#/components/schemas/ILinks"},"name":{"description":"Name of the user.","type":"string"},"type":{"description":"The user type (fixed).","type":"string"}},"$$ref":"#/components/schemas/MetadataUser"},"matches":{"items":{"type":"string"},"type":"array"},"readOnly":{"description":"Details regarding the read only status of this instance","type":"object","properties":{"reason":{"description":"Reason the resource is read only - SYSTEM (if it is system defined), RBAC (if user RBAC permissions make it read only) or DOMAIN (if resource is read only in current domain).","enum":["RBAC","SYSTEM","DOMAIN"],"type":"string"},"state":{"description":"True if this resource us read only and false otherwise.","type":"boolean"}},"$$ref":"#/components/schemas/ReadOnly"},"timestamp":{"description":"The last updated timestamp.","format":"int32","type":"integer"}},"$$ref":"#/components/schemas/Metadata"},"name":{"type":"string"},"policyType":{"type":"string"},"setting":{"type":"object","properties":{"alertEvaluationInterval":{"format":"int32","type":"integer"},"certFileContent":{"type":"string"},"certFileName":{"type":"string"},"certFileType":{"type":"string"},"certPassphrase":{"type":"string"},"configType":{"type":"string"},"dataCollectionInterval":{"format":"int32","type":"integer"},"dialInHosts":{"items":{"type":"object","properties":{"host":{"type":"string"},"port":{"format":"int32","type":"integer"}},"$$ref":"#/components/schemas/DialHost"},"type":"array"},"dialOutHosts":{"items":{"type":"object","properties":{"host":{"type":"string"},"port":{"format":"int32","type":"integer"}},"$$ref":"#/components/schemas/DialHost"},"type":"array"},"enabledOpenConfig":{"type":"boolean"},"grpcPassword":{"type":"string"},"grpcUsername":{"type":"string"},"readOnly":{"type":"boolean"}},"$$ref":"#/components/schemas/HealthSetting"},"type":{"type":"string"},"version":{"type":"string"}},"$$ref":"#/components/schemas/HealthPolicy"},"links":{"type":"object","description":"This defines the self referencing links for the given resource.","properties":{"parent":{"description":"Full resource URL path to reference the parent (if any) for this resource.","type":"string"},"self":{"description":"Full resource URL path to reference this particular resource.","type":"string"}},"$$ref":"#/components/schemas/ILinks"},"paging":{"type":"object","properties":{"count":{"format":"int32","type":"integer"},"limit":{"format":"int32","type":"integer"},"offset":{"format":"int32","type":"integer"},"pages":{"format":"int32","type":"integer"}},"$$ref":"#/components/schemas/PagingContainer"}},"$$ref":"#/components/schemas/HealthPolicyListContainer"}}},"description":"OK"},"default":{"content":{"application/json":{"schema":{"type":"object","properties":{"category":{"description":"Describes the category of the error thrown.","enum":["FRAMEWORK","OTHER","VALIDATION"],"type":"string"},"messages":{"description":"List of error messages which the response has.","items":{"type":"object","properties":{"bulkPayloadIndex":{"description":"More details about the error.","type":"string"},"code":{"description":"More details about the error.","type":"string"},"description":{"description":"More details about the error.","type":"string"},"details":{"description":"More details about the error.","type":"string"},"errorCode":{"description":"More details about the error.","type":"string"},"location":{"description":"More details about the error.","type":"string"},"severity":{"description":"Specifies the Highest level severity among all the error messages.","enum":["ERROR","WARN"],"type":"string"}},"$$ref":"#/components/schemas/ErrorMessagesContainer"},"type":"array"},"severity":{"description":"Specifies the Highest level severity among all the error messages.","enum":["ERROR","WARN"],"type":"string"}},"$$ref":"#/components/schemas/ErrorResponse"}}},"description":"Error"}},"tags":["Policy"],"__originalOperationId":"getAllHealthPolicy","method":"get","path":"/v1/cdfmc/api/fmc_config/v1/domain/{domainUUID}/policy/healthpolicies"}}