{"openapi":"3.0.0","components":{"examples":{},"headers":{},"parameters":{},"requestBodies":{},"responses":{}},"info":{"title":"Access Control Insights API","contact":{"name":"Checkpoint","email":"support@checkpoint.com"},"version":"3.1.0","description":"\nVersions: [v3.0](https://app.swaggerhub.com/apis/Check-Point/Insights/3.0.0) | v3.1\n\n# Introduction\nPolicy Insights analyzes Access Control policies and network traffic to identify opportunities for optimization. It examines traffic patterns and policy configurations, and suggests modifications to improve your security posture.\n\n## Key Benefits\n- Reduces attack surface by making rules more restrictive and eliminating unnecessary traffic permissions\n- Simplifies access control policies for easier management and auditing\n\n## Insights API usage\nRuns an Insights API command using the Management API tool.\n\n<br/>**Web Services syntax:** `<HTTP-Method> https://<mgmt-server>/web_api/insights-api/<insights-api-version>/<insights-command>`\n<br/>**mgmt_cli syntax:** `mgmt_cli insights-api/<insights-api-version>/<insights-command> --method <HTTP-Method>`\n\n  - **&lt;HTTP-Method&gt;** - Can be either POST, GET, DELETE or PUT based on the API documentation below.\n  - **&lt;insights-api-version&gt;** - **Optional** parameter. The specific version of Insights API to be used (e.g. \"v1.3.1\"). The most recent version is used by default.\n  - **&lt;insights-command&gt;** - The Insights API command you want to use. For a list of all available commands below.\n\n**Important:** \n- Versions prior to v3.0 are deprecated.\n- Before making any API call, please refer to the **Authentication** section.\n\n## Authentication\nBefore executing an API call, [login](https://sc1.checkpoint.com/documents/latest/APIs/index.html#web/login~v1.8%20) to the management with username and password. The server shows your session unique identifier (sid). Enter this session unique identifier in the **'X-chkp-sid'** header of each request.\n    <details open>\n      <summary><strong>Web Services</strong></summary>\n        <br/>**Request:** POST https://127.1.2.3/web_api/v1.8/login\n          <br/><u>Headers:</u> Content-Type: application/json\n          <br/><u>Body:</u> {\"user\" : \"my_user\", \"password\" : \"my_password\"}\n        <br/>**Response:** {\"sid\" : \"111111\", \"url\" : \"http ://1.2.3.4:443/web_api\", \"uid\" : \"2222\", \"session-timeout\" : 600, \"last-login-was-at\" : { \"posix\" : 3333, \"iso-8601\" : \"2015-04-26T10:11+0300\"}}\n    </details>\n    <details open>\n      <summary><strong>mgmt_cli</strong></summary>\n        <br/>**Command:** mgmt_cli login user \"my_user\" password \"my_password\" --format json\n        <br/>**Output:** {\"sid\" : \"111111\", \"url\" : \"http://1.2.3.4:443/web_api\", \"uid\" : \"2222\", \"session-timeout\" : 600, \"last-login-was-at\" : { \"posix\" : 3333, \"iso-8601\" : \"2015-04-26T10:11+0300\"}}\n    </details>\n"},"paths":{"/insights/v3.1/accept-suggestions-async":{"post":{"operationId":"AcceptSuggestionsAsyncV3v1","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"properties":{"task-id":{"description":"accept-suggestions-async task UID. Use show-task command to check the progress of the task.","type":"string","example":"abcdef01-2345-6789-86b0-79715c2228c3"}}}}}}},"description":"Accept Selected Suggestions Asynchronously\n\nProcesses selected suggestions on the user's rulebase with comprehensive task tracking capabilities.\nThis endpoint enables users to accept suggestions in their entirety or selectively accept specific\ncomponents, with optional creation of backup copies of original rules for review purposes.\n\n**Supported Operations:**\n- Full suggestion acceptance\n- Partial suggestion acceptance (tighten-rule and unused-objects types only)\n- Acceptance with original rule duplication for backup\n\n**Important Notes:**\n- The content field is required only when partial is set to true\n- All modifications are applied to the current session; users must publish changes to make them effective\n- Supports both complete success and partial success scenarios with detailed error reporting\n\n**Response Behavior:**\nThe task returns a comprehensive list of processed suggestions, including successful acceptances\nand any failures with detailed error information for troubleshooting purposes.\n\n\n\n**Task Completion Example:**\n```json\n{\n  \"progress-description\": \"Operation Completed\",\n  \"progress-percentage\": 100,\n  \"status\": \"succeeded\",\n  \"suppressed\": false,\n  \"task-details\": [\n    {\n      \"failure\": [],\n      \"success\": [\n        {\n          \"layer-uid\": \"64c16ba5-d72a-4d22-aca0-f7123d9c5f61\",\n          \"rule-uid\": \"271fddf6-f523-4ffe-9a25-20ea5fae4eaf\",\n          \"suggestion-uid\": \"3e65dcc4-67a6-4b4a-8527-a87faab57bf2\"\n        },\n        {\n          \"layer-uid\": \"64c16ba5-d72a-4d22-aca0-f7123d9c5f61\",\n          \"rule-uid\": \"ed127e0e-e096-4ac6-b1f0-c1400c243340\",\n          \"suggestion-uid\": \"5f58d422-2099-4257-8bf9-af857ed900fc\"\n        }\n      ]\n    }\n  ],\n  \"task-id\": \"abcdef01-2345-6789-86b0-79715c2228c3\",\n  \"task-name\": \"accept-suggestions-async\"\n}\n```","security":[],"requestBody":{"description":"Request body with suggestion UIDs and options","required":true,"content":{"application/json":{"schema":{"properties":{"uids":{"items":{"properties":{"uid":{"type":"string","format":"uuid","description":"insight unique identifier","pattern":"^[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$","example":"bc41dc2c-4a15-4b7f-ba64-53bb1ca39dc0"},"options":{"properties":{"duplicate-rule":{"type":"boolean","description":"Indicates if the to accept an insight by creating a backup rule","example":"false","default":false},"partial":{"type":"boolean","description":"Indicates if to accept an insight partially","example":"true","default":false},"content":{"properties":{"update":{"properties":{"source":{"properties":{"add":{"items":{"type":"string","format":"uuid","description":"Stringified UUID.","pattern":"^[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"},"type":"array","description":"Object uids list to be added to the rule","example":["bc41dc2c-4a15-4b7f-ba64-53bb1ca39dc0","d4e5f6a7-b8c9-0d1e-2f3a-4b5c6d7e8f90"]},"remove":{"items":{"type":"string","format":"uuid","description":"Stringified UUID.","pattern":"^[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"},"type":"array","description":"Object uids list to be removed from the rule","example":["bc41dc2c-4a15-4b7f-ba64-53bb1ca39dc0","d4e5f6a7-b8c9-0d1e-2f3a-4b5c6d7e8f90"]}},"type":"object"},"destination":{"properties":{"add":{"items":{"type":"string","format":"uuid","description":"Stringified UUID.","pattern":"^[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"},"type":"array","description":"Object uids list to be added to the rule","example":["bc41dc2c-4a15-4b7f-ba64-53bb1ca39dc0","d4e5f6a7-b8c9-0d1e-2f3a-4b5c6d7e8f90"]},"remove":{"items":{"type":"string","format":"uuid","description":"Stringified UUID.","pattern":"^[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"},"type":"array","description":"Object uids list to be removed from the rule","example":["bc41dc2c-4a15-4b7f-ba64-53bb1ca39dc0","d4e5f6a7-b8c9-0d1e-2f3a-4b5c6d7e8f90"]}},"type":"object"},"service":{"properties":{"add":{"items":{"type":"string","format":"uuid","description":"Stringified UUID.","pattern":"^[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"},"type":"array","description":"Object uids list to be added to the rule","example":["bc41dc2c-4a15-4b7f-ba64-53bb1ca39dc0","d4e5f6a7-b8c9-0d1e-2f3a-4b5c6d7e8f90"]},"remove":{"items":{"type":"string","format":"uuid","description":"Stringified UUID.","pattern":"^[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"},"type":"array","description":"Object uids list to be removed from the rule","example":["bc41dc2c-4a15-4b7f-ba64-53bb1ca39dc0","d4e5f6a7-b8c9-0d1e-2f3a-4b5c6d7e8f90"]}},"type":"object"}},"type":"object","description":"Update operation containing changes to rule fields","example":[{"source":{"remove":["bc41dc2c-4a15-4b7f-ba64-53bb1ca39dc0"]}},{"destination":{"add":["d4e5f6a7-b8c9-0d1e-2f3a-4b5c6d7e8f90"]}},{"service":{"remove":["e5f6a7b8-c9d0-1e2f-3a4b-5c6d7e8f9012"]}}]}},"required":["update"],"type":"object","description":"Content of the insight containing the proposed changes","example":[{"update":{"source":{"remove":["bc41dc2c-4a15-4b7f-ba64-53bb1ca39dc0"]}}},{"update":{"destination":{"add":["d4e5f6a7-b8c9-0d1e-2f3a-4b5c6d7e8f90"]}}},{"reason":"EXPIRED","last-active-date":"2024-01-15T00:00:00Z"}]}},"required":["content"],"type":"object"}},"required":["uid"],"type":"object"},"type":"array","description":"Array of insights unique identifiers and objects include insight unique identifier with additional options to accept","example":[{"uid":"bc41dc2c-4a15-4b7f-ba64-53bb1ca39dc0","options":{"duplicate-rule":true}},"d4e5f6a7-b8c9-0d1e-2f3a-4b5c6d7e8f90"]},"ignore-warnings":{"type":"boolean","description":"Apply changes ignoring warnings","default":false}},"required":["uids"],"type":"object","description":"Request body with suggestion UIDs and options"},"examples":{"Example 1":{"value":{"uids":["3e65dcc4-67a6-4b4a-8527-a87faab57bf2","5f58d422-2099-4257-8bf9-af857ed900fc"]}},"Example 2":{"value":{"uids":[{"uid":"bc41dc2c-4a15-4b7f-ba64-53bb1ca39dc0"},{"uid":"d4e5f6a7-b8c9-0d1e-2f3a-4b5c6d7e8f90"},"7f8e9d1c-2b3a-4c5d-6e7f-8a9b0c1d2e3f"],"ignore-warnings":false}},"Example 3":{"value":{"uids":[{"uid":"7f8e9d1c-2b3a-4c5d-6e7f-8a9b0c1d2e3f","options":{"duplicate-rule":true}}],"ignore-warnings":true}},"Example 4":{"value":{"uids":[{"uid":"a1b2c3d4-e5f6-7890-abcd-ef1234567890","options":{"partial":true,"content":{"source":{"add":["f5e4d3c2-b1a0-9876-5432-1098fedcba98","1a2b3c4d-5e6f-7890-abcd-ef9876543210"],"remove":["7f8e9d1c-2b3a-4c5d-6e7f-8a9b0c1d2e3f"]},"destination":{"add":["d4e5f6a7-b8c9-0d1e-2f3a-4b5c6d7e8f90"]}}}}]}},"Example 5":{"value":{"uids":[{"uid":"f5e4d3c2-b1a0-9876-5432-1098fedcba98","options":{"duplicate-rule":true,"partial":true,"content":{"destination":{"remove":["f5e4d3c2-b1a0-9876-5432-1098fedcba98","1a2b3c4d-5e6f-7890-abcd-ef9876543210"]}}}},{"uid":"1a2b3c4d-5e6f-7890-abcd-ef9876543210"}],"ignore-warnings":false}}}}}},"deprecated":false,"tags":["Insights API - v3.1"]}},"/insights/v3.1/add-suggestion-user-interaction":{"post":{"operationId":"AddSuggestionUserInteractionV3v1","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"type":"object"}}}}},"description":"Record user interaction for selected suggestions on suggestion management.\nAllows users to mark suggestions for 'decide later' to postpone suggestion review or other interactions.\n\nComment Field Behavior:\n- comment: Plain text comment with character and length limitations\n- comment-base64: Base64 encoded comment that supports longer text and special characters\n- If both fields are provided, comment-base64 takes precedence and comment is ignored\n- Only one comment field should be used per request","security":[],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"suggestion-uids":{"items":{"type":"string","format":"uuid","description":"Stringified UUID.","pattern":"^[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"},"type":"array","description":"Array of insight unique identifiers","example":["bc41dc2c-4a15-4b7f-ba64-53bb1ca39dc0","d4e5f6a7-b8c9-0d1e-2f3a-4b5c6d7e8f90"]},"interaction":{"properties":{"type":{"description":"Type of user interaction with an insight","enum":["DECIDE_LATER"],"type":"string","x-enum-varnames":["DECIDE_LATER"],"example":"DECIDE_LATER"}},"required":["type"],"type":"object"},"comment":{"type":"string","description":"User comment in feedback on an insight","example":"This insight looks good for our security policy"},"comment-base64":{"type":"string","description":"Base64 encoded user comment in feedback on an insight","example":"VGhpcyBzdWdnZXN0aW9uIGxvb2tzIGdvb2Q="}},"required":["suggestion-uids","interaction"],"type":"object"},"examples":{"Example 1":{"value":{"suggestion-uids":["bc41dc2c-4a15-4b7f-ba64-53bb1ca39dc0","d4e5f6a7-b8c9-0d1e-2f3a-4b5c6d7e8f90"],"interaction":{"type":"DECIDE_LATER"},"comment":"This suggestion looks good for our security policy"}},"Example 2":{"value":{"suggestion-uids":["bc41dc2c-4a15-4b7f-ba64-53bb1ca39dc0","d4e5f6a7-b8c9-0d1e-2f3a-4b5c6d7e8f90"],"interaction":{"type":"DECIDE_LATER"},"comment-base64":"VGhpcyBzdWdnZXN0aW9uIGxvb2tzIGdvb2QgZm9yIG91ciBzZWN1cml0eSBwb2xpY3k="}}}}}},"tags":["Insights API - v3.1"]}},"/insights/v3.1/partial-accept-suggestions-async":{},"/insights/v3.1/policy-insights-event":{},"/insights/v3.1/reject-suggestions":{"post":{"operationId":"RejectSuggestionsV3v1","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"type":"object"}}}}},"description":"Decline selected suggestions and update their feedback status.\nThis action removes suggestions from the suggested list and prevents their reappearance.\n\nComment Field Behavior:\n- comment: Plain text comment with character and length limitations\n- comment-base64: Base64 encoded comment that supports longer text and special characters\n- If both fields are provided, comment-base64 takes precedence and comment is ignored\n- Only one comment field should be used per request","security":[],"parameters":[],"requestBody":{"description":"Parameters for rejecting suggestions with optional feedback","required":true,"content":{"application/json":{"schema":{"properties":{"uids":{"items":{"type":"string","format":"uuid","description":"Stringified UUID.","pattern":"^[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"},"type":"array","description":"Array of insight unique identifiers","example":["bc41dc2c-4a15-4b7f-ba64-53bb1ca39dc0","d4e5f6a7-b8c9-0d1e-2f3a-4b5c6d7e8f90"]},"comment":{"type":"string","description":"User comment in feedback on an insight","example":"This insight looks good for our security policy"},"comment-base64":{"type":"string","description":"Base64 encoded user comment in feedback on an insight","example":"VGhpcyBzdWdnZXN0aW9uIGxvb2tzIGdvb2Q="}},"required":["uids"],"type":"object","description":"Parameters for rejecting suggestions with optional feedback"},"examples":{"Example 1":{"value":{"uids":["bc41dc2c-4a15-4b7f-ba64-53bb1ca39dc0","d4e5f6a7-b8c9-0d1e-2f3a-4b5c6d7e8f90"],"comment":"Not applicable to our current security requirements"}},"Example 2":{"value":{"uids":["bc41dc2c-4a15-4b7f-ba64-53bb1ca39dc0"],"comment-base64":"Tm90IGFwcGxpY2FibGUgdG8gb3VyIGN1cnJlbnQgc2VjdXJpdHkgcmVxdWlyZW1lbnRz"}}}}}},"tags":["Insights API - v3.1"]}},"/insights/v3.1/remove-suggestion-user-interaction":{"post":{"operationId":"RemoveSuggestionUserInteractionV3v1","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"type":"object"}}}}},"description":"Remove user interaction for selected suggestions from suggestion management\nAllow the user to clear previously set interactions such as 'decide later' status.","security":[],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"suggestion-uids":{"items":{"type":"string","format":"uuid","description":"Stringified UUID.","pattern":"^[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"},"type":"array","description":"Array of insight unique identifiers","example":["bc41dc2c-4a15-4b7f-ba64-53bb1ca39dc0","d4e5f6a7-b8c9-0d1e-2f3a-4b5c6d7e8f90"]},"interaction-type":{"description":"Type of user interaction with an insight","enum":["DECIDE_LATER"],"type":"string","x-enum-varnames":["DECIDE_LATER"],"example":"DECIDE_LATER"}},"required":["suggestion-uids","interaction-type"],"type":"object"}}}},"deprecated":false,"tags":["Insights API - v3.1"]}},"/insights/v3.1/set-config":{"post":{"operationId":"SetConfigV3v1","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"type":"object"}}}}},"description":"Set user configuration for Policy Insights product\n\nUpdate Behavior:\n- Only the configuration fields provided in the request body are updated\n- Fields not included in the request remain unchanged\n- To revert a field to its default value, send \"default\" as the field value\n- Each field supports sending \"default\" to restore the original system default\n\nDefault Value Behavior:\n- Setting a field to \"default\" keeps it synchronized with system defaults\n- If system defaults change in future updates, fields set to \"default\" will automatically follow\n- Setting a specific numeric value (e.g., 5) locks that field to the exact value, regardless of system changes","security":[],"parameters":[],"requestBody":{"description":"Configuration values to update","required":true,"content":{"application/json":{"schema":{"properties":{"config":{"properties":{"data-retention":{"anyOf":[{"type":"integer","format":"int32"},{"type":"string","enum":["default","DEFAULT"]}],"description":"Number of days to retain data","example":390},"telemetry-servers-exclude":{"anyOf":[{"items":{"properties":{"uid":{"type":"string","description":"Telemetry server unique identifier","example":"bc41dc2c-4a15-4b7f-ba64-53bb1ca39dc0"}},"required":["uid"],"type":"object"},"type":"array"},{"type":"string","enum":["default","DEFAULT"]}]},"pass-low-confidence-after":{"anyOf":[{"type":"integer","format":"int32"},{"type":"string","enum":["default","DEFAULT"]}],"description":"The required number of days after which low confidence insights are considered higher confidence level","example":90},"delete-disabled-rules-after":{"anyOf":[{"type":"integer","format":"int32"},{"type":"string","enum":["default","DEFAULT"]}],"description":"The required number of days since a rule was disabled for a delete-disabled-rule insight to be suggested","example":90},"pass-low-confidence-unmatched-rule-after":{"anyOf":[{"type":"integer","format":"int32"},{"type":"string","enum":["default","DEFAULT"]}],"description":"The required number of days without hits on a rule in order to raise the unmatched-rule insight confidence from low to high","example":180},"max-replacement-objects":{"anyOf":[{"type":"integer","format":"int32"},{"type":"string","enum":["default","DEFAULT"]}],"description":"Maximum number of objects that can replace an existing object in a rule. Valid range: 4-9","example":5},"ungroup-max-usage-percent":{"anyOf":[{"type":"integer","format":"int32"},{"type":"string","enum":["default","DEFAULT"]}],"description":"Maximum percentage of group members in use for ungrouping to be suggested. Valid range: 30-80","example":50}},"type":"object"}},"required":["config"],"type":"object","description":"Configuration values to update"},"examples":{"Example 1":{"value":{"config":{"max-replacement-objects":6,"ungroup-max-usage-percent":60}}},"Example 2":{"value":{"config":{"max-replacement-objects":"default","data-retention":"default"}}},"Example 3":{"value":{"config":{"delete-disabled-rules-after":120,"ungroup-max-usage-percent":40}}}}}}},"tags":["Insights API - v3.1"]}},"/insights/v3.1/set-state":{"post":{"operationId":"SetStateV3v1","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"type":"object"}}}}},"description":"Enable or disable the Policy Insights product\nTurning Policy Insights on/off from Infinity Cloud Services Card","security":[],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"enabled":{"type":"boolean","description":"Enable/Disable the policy insights product"}},"required":["enabled"],"type":"object"}}}},"deprecated":false,"tags":["Insights API - v3.1"]}},"/insights/v3.1/show-card-info":{"post":{"operationId":"ShowCardInfoV3v1","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"properties":{"suggestions-status":{"enum":["INITIALIZING","NO_SUGGESTIONS","READY"],"type":"string","x-enum-varnames":["INITIALIZING","NO_SUGGESTIONS","READY"]},"last-run":{"type":"string","description":"Timestamp of the last execution","example":"2024-01-15T12:00:00Z"},"planned-next-run":{"type":"string","description":"Timestamp of the next planned execution","example":"2024-01-16T12:00:00Z"},"messages":{"items":{"properties":{"type":{"enum":["INFO","WARNING","ERROR"],"type":"string","x-enum-varnames":["INFO","WARNING","ERROR"]},"text":{"type":"string","description":"Text content of the message","example":"insights are available for review"},"sk":{"type":"string","description":"SK article identifier","example":"sk183313"}},"required":["type","text","sk"],"type":"object"},"type":"array","description":"Array of informational messages","example":[{"type":"WARNING","text":"Suggestions are based on partial information (1 server is not sending telemetry data).","sk":"sk183313"}]}},"required":["suggestions-status"],"type":"object"}}}}},"description":"Provide information for the Infinity Cloud Services display card","security":[],"parameters":[],"deprecated":false,"tags":["Insights API - v3.1"]}},"/insights/v3.1/show-config":{"post":{"operationId":"ShowConfigV3v1","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"properties":{"config":{"properties":{"ungroup-max-usage-percent":{"description":"Maximum percentage of group members in use for ungrouping to be suggested. Valid range: 30-80","properties":{"value":{"type":"integer","format":"int32","description":"Current value of the configuration field"},"override":{"type":"boolean","description":"Indicates if the configuration value has been overridden from default","example":"true"},"default":{"type":"integer","format":"int32","description":"Default value for the configuration field"}},"required":["value","override","default"],"type":"object"},"max-replacement-objects":{"description":"Maximum number of objects that can replace an existing object in a rule. Valid range: 4-9","properties":{"value":{"type":"integer","format":"int32","description":"Current value of the configuration field"},"override":{"type":"boolean","description":"Indicates if the configuration value has been overridden from default","example":"true"},"default":{"type":"integer","format":"int32","description":"Default value for the configuration field"}},"required":["value","override","default"],"type":"object"},"delete-disabled-rules-after":{"description":"The required number of days since a rule was disabled for a delete-disabled-rule insight to be suggested","properties":{"value":{"type":"integer","format":"int32","description":"Current value of the configuration field"},"override":{"type":"boolean","description":"Indicates if the configuration value has been overridden from default","example":"true"},"default":{"type":"integer","format":"int32","description":"Default value for the configuration field"}},"required":["value","override","default"],"type":"object"},"pass-low-confidence-after":{"description":"The required number of days after which low confidence insights are considered higher confidence level","properties":{"value":{"type":"integer","format":"int32","description":"Current value of the configuration field"},"override":{"type":"boolean","description":"Indicates if the configuration value has been overridden from default","example":"true"},"default":{"type":"integer","format":"int32","description":"Default value for the configuration field"}},"required":["value","override","default"],"type":"object"},"telemetry-servers-exclude":{"description":"Array of telemetry server UIDs to exclude from processing","properties":{"value":{"items":{"properties":{"uid":{"type":"string"}},"required":["uid"],"type":"object"},"type":"array","description":"Current value of the configuration field"},"override":{"type":"boolean","description":"Indicates if the configuration value has been overridden from default","example":"true"},"default":{"items":{"properties":{"uid":{"type":"string"}},"required":["uid"],"type":"object"},"type":"array","description":"Default value for the configuration field"}},"required":["value","override","default"],"type":"object"},"pass-low-confidence-unmatched-rule-after":{"description":"The required number of days without hits on a rule in order to raise the unmatched-rule insight confidence from low to high","properties":{"value":{"type":"integer","format":"int32","description":"Current value of the configuration field"},"override":{"type":"boolean","description":"Indicates if the configuration value has been overridden from default","example":"true"},"default":{"type":"integer","format":"int32","description":"Default value for the configuration field"}},"required":["value","override","default"],"type":"object"},"data-retention":{"description":"Number of days to retain data","properties":{"value":{"type":"integer","format":"int32","description":"Current value of the configuration field"},"override":{"type":"boolean","description":"Indicates if the configuration value has been overridden from default","example":"true"},"default":{"type":"integer","format":"int32","description":"Default value for the configuration field"}},"required":["value","override","default"],"type":"object"}},"required":["ungroup-max-usage-percent","max-replacement-objects","delete-disabled-rules-after","pass-low-confidence-after","telemetry-servers-exclude","pass-low-confidence-unmatched-rule-after","data-retention"],"type":"object"}},"required":["config"],"type":"object"},"examples":{"Retrieving user configuration for Policy Insights":{"value":{"config":{"delete-disabled-rules-after":{"value":90,"override":false,"default":90},"pass-low-confidence-after":{"value":90,"override":false,"default":90},"telemetry-servers-exclude":{"value":[{"uid":"bc41dc2c-4a15-4b7f-ba64-53bb1ca39dc0"}],"override":false,"default":[{"uid":"bc41dc2c-4a15-4b7f-ba64-53bb1ca39dc0"}]},"pass-low-confidence-unmatched-rule-after":{"value":180,"override":false,"default":180},"data-retention":{"value":390,"override":false,"default":390},"max-replacement-objects":{"value":4,"override":false,"default":4},"ungroup-max-usage-percent":{"value":50,"override":false,"default":50}}}}}}}}},"description":"Get user configuration and settings for Policy Insights product\n\nResponse includes all configuration fields with their current value,\nwhether the value is overridden from default, and the default value.","security":[],"parameters":[],"tags":["Insights API - v3.1"]}},"/insights/v3.1/show-report-layers":{"post":{"operationId":"ShowReportLayersV3v1","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"properties":{"total":{"type":"integer","format":"int32","description":"Total number of items","example":"150"},"from":{"type":"integer","format":"int32","description":"Starting index for pagination","example":"0"},"to":{"type":"integer","format":"int32","description":"Ending index for pagination","example":"49"},"layers":{"items":{"properties":{"uid":{"type":"string","description":"Access layer identifier in UUID format","example":"b7f8fa74-4360-476e-ae24-491382501e15"},"name":{"type":"string","description":"Access layer name","example":"Network"},"security-score":{"description":"Security score (deprecated, use security-impact instead)","properties":{},"type":"object"},"total-rules":{"type":"integer","format":"int32","description":"Total number of rules in the layer","example":"150"},"all-suggestions":{"type":"integer","format":"int32","description":"Total number of all suggestions","example":"45"},"top-suggestions":{"type":"integer","format":"int32","description":"Number of High confidence suggestions","example":"10"},"comments":{"type":"string","description":"Comments or description text","example":"All gateways"},"icon":{"type":"string","description":"Icon identifier or path","example":"Objects/NetworkSmall"},"color":{"type":"string","description":"Color code or identifier","example":"black"},"policy-packages":{"items":{"properties":{"uid":{"type":"string","description":"Policy package unique identifier","example":"12345678-1234-1234-1234-123456789012"},"name":{"type":"string","description":"Policy package name","example":"Default Policy Package"},"icon":{"type":"string","description":"Icon identifier or path","example":"Objects/NetworkSmall"},"color":{"type":"string","description":"Color code or identifier","example":"black"}},"required":["uid","name"],"type":"object"},"type":"array","description":"Array of policy packages associated with the layer","example":[{"uid":"12345678-1234-1234-1234-123456789012","name":"Standard","icon":"Policy","color":"#FF5722"}]}},"required":["uid","name","security-score","total-rules","all-suggestions","top-suggestions","policy-packages"],"type":"object"},"type":"array"},"security-score-scale":{"properties":{"very-low":{"type":"integer","format":"int32","description":"Very low score threshold","example":"20"},"low":{"type":"integer","format":"int32","description":"Low score threshold","example":"40"},"medium":{"type":"integer","format":"int32","description":"Medium score threshold","example":"60"},"high":{"type":"integer","format":"int32","description":"High score threshold","example":"80"},"very-high":{"type":"integer","format":"int32","description":"Very high score threshold","example":"100"}},"required":["very-low","low","medium","high","very-high"],"type":"object"}},"required":["total","from","to","layers","security-score-scale"],"type":"object"}}}}},"description":"Retrieve detailed layer information with suggestion counts and security metrics.\nSupports pagination, filtering, and sorting.\n\nResponse includes layer details such as:\n- Security score and total rules\n- Suggestion counts (all and top priority)\n- Associated policy packages\n- Custom icons and colors\n\nSupports text search and ordering by various fields.","security":[],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"filters":{"properties":{"policy-id":{"type":"string","format":"uuid","description":"Policy identifier associated with the event","pattern":"^[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$","example":"bc41dc2c-4a15-4b7f-ba64-53bb1ca39dc0"},"layer-id":{"type":"string","format":"uuid","description":"Layer identifier associated with the event","pattern":"^[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$","example":"bc41dc2c-4a15-4b7f-ba64-53bb1ca39dc0"},"text":{"type":"string","description":"Text string for searching or matching","example":"Allow HTTPS traffic"}},"type":"object"},"limit":{"type":"integer","format":"int32","description":"Maximum number of items to return","example":"50"},"offset":{"type":"integer","format":"int32","description":"Number of items to skip for pagination","example":"0"},"order":{"items":{"properties":{"ASC":{"type":"string","description":"Sort order field name for ascending order","example":"security-score"},"DESC":{"type":"string","description":"Sort order field name for descending order","example":"layer"}},"type":"object"},"type":"array","description":"Array of order configurations for sorting results","example":[{"ASC":"security-score"},{"DESC":"layer"}]}},"type":"object"},"examples":{"Example 1":{"value":{"filters":{"policy-id":"12345678-1234-1234-1234-123456789012","layer-id":"b7f8fa74-4360-476e-ae24-491382501e15","text":"Network"},"limit":50,"offset":0,"order":[{"DESC":"security-score"}]}},"Example 2":{"value":{"filters":{"policy-id":"12345678-1234-1234-1234-123456789012","layer-id":"b7f8fa74-4360-476e-ae24-491382501e15","text":"Network"},"limit":50,"offset":0,"order":[{"ASC":"security-score"}]}}}}}},"tags":["Insights API - v3.1"]}},"/insights/v3.1/show-report-stats":{"post":{"operationId":"ShowReportStatsV3v1","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"properties":{"rules":{"properties":{"count":{"type":"integer","format":"int32","description":"Count or number of items","example":"1500"},"change":{"type":"integer","format":"int32","description":"Change value indicating increase or decrease","example":"50"}},"required":["count","change"],"type":"object"},"objects":{"properties":{"count":{"type":"integer","format":"int32","description":"Count or number of items","example":"1500"},"change":{"type":"integer","format":"int32","description":"Change value indicating increase or decrease","example":"50"}},"required":["count","change"],"type":"object"},"log-telemetry":{"properties":{"days":{"type":"integer","format":"int32","description":"Number of days","example":"30"},"count":{"type":"integer","format":"int32","description":"Count or number of items","example":"1500"}},"required":["days","count"],"type":"object"},"reporting-servers":{"type":"integer","format":"int32","description":"Number of servers that are reporting telemetry data","example":"5"},"not-reporting-servers":{"type":"integer","format":"int32","description":"Number of servers that are not reporting telemetry data","example":"1"},"traffic-logs":{"type":"integer","format":"int32","description":"Total number of traffic logs collected","example":"250000"},"report-status":{"enum":["READY","LOW_CONFIDENCE","NOT_FOUND"],"type":"string","x-enum-varnames":["READY","LOW_CONFIDENCE","NOT_FOUND"]}},"required":["rules","objects","log-telemetry","reporting-servers","not-reporting-servers","traffic-logs","report-status"],"type":"object"}}}}},"description":"Retrieve global statistics for the entire tenant.\nNo filters required - provides tenant-wide metrics.\n\nResponse includes:\n- Total rules and objects with recent changes\n- Log telemetry coverage (days and count)\n- Reporting server statistics\n- Total traffic logs analyzed\n\nUseful for executive dashboard and health monitoring.","security":[],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"type":"object"}}}},"tags":["Insights API - v3.1"]}},"/insights/v3.1/show-report-suggestion-categories":{"post":{"operationId":"ShowReportSuggestionCategoriesV3v1","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"properties":{"data":{"properties":{"top":{"items":{"properties":{"date":{"type":"string","description":"Date value in string format","example":"2024-01-15T00:00:00Z"},"unused-objects":{"type":"integer","format":"int32"},"tighten-rule":{"type":"integer","format":"int32"},"delete-disabled-rule":{"type":"integer","format":"int32"},"zero-hits-rule":{"type":"integer","format":"int32"}},"required":["date"],"type":"object"},"type":"array","description":"Array of top (high confidence) insights count review by type over time","example":[{"date":"2025-10-10T08:38:42.423Z","unused-objects":10,"tighten-rule":3},{"date":"2025-10-11T08:38:42.423Z","unused-objects":8,"delete-disabled-rule":2}]},"all":{"items":{"properties":{"date":{"type":"string","description":"Date value in string format","example":"2024-01-15T00:00:00Z"},"unused-objects":{"type":"integer","format":"int32"},"tighten-rule":{"type":"integer","format":"int32"},"delete-disabled-rule":{"type":"integer","format":"int32"},"zero-hits-rule":{"type":"integer","format":"int32"}},"required":["date"],"type":"object"},"type":"array","description":"Arrays of dates along with the count of each insight at that time","example":[{"date":"2025-10-10T08:38:42.423Z","unused-objects":10,"tighten-rule":3},{"date":"2025-10-11T08:38:42.423Z","unused-objects":8,"delete-disabled-rule":2}]}},"required":["top","all"],"type":"object"}},"required":["data"],"type":"object"}}}}},"description":"Retrieve suggestion categories report showing distribution of suggestions by type over time.\nProvides insights into which types of suggestions are being generated.\n\nResponse includes both 'all' suggestions and 'top' priority suggestions,\nbroken down by category (unused-objects, tighten-rule, etc.) per day.","security":[],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"filters":{"properties":{"policy-id":{"type":"string","format":"uuid","description":"Policy identifier associated with the event","pattern":"^[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$","example":"bc41dc2c-4a15-4b7f-ba64-53bb1ca39dc0"},"layer-id":{"type":"string","format":"uuid","description":"Layer identifier associated with the event","pattern":"^[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$","example":"bc41dc2c-4a15-4b7f-ba64-53bb1ca39dc0"},"suggestion-type":{"description":"Type of insight","enum":["unused-objects","tighten-rule","delete-disabled-rule","zero-hits-rule"],"type":"string","x-enum-varnames":["UnusedObjects","TightenRule","DeleteDisabledRule","ZeroHitsRule"],"example":"unused-objects"},"start-date":{"type":"string","description":"Timestamp when the operation started","example":"2024-01-15T08:00:00Z"}},"type":"object"}},"type":"object"}}}},"tags":["Insights API - v3.1"]}},"/insights/v3.1/show-report-summary":{"post":{"operationId":"ShowReportSummaryV3v1","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"properties":{"top-insights":{"type":"integer","format":"int32","description":"Number of High confidence suggestions","example":"10"},"all-insights":{"type":"integer","format":"int32","description":"Total number of all suggestions","example":"45"},"decide-later":{"type":"integer","format":"int32","description":"Number of suggestions marked as Decide Later by the user","example":"5"},"security-score":{"description":"Security score (deprecated, use security-impact instead)","properties":{},"type":"object"},"security-score-scale":{"properties":{"very-low":{"type":"integer","format":"int32","description":"Very low score threshold","example":"20"},"low":{"type":"integer","format":"int32","description":"Low score threshold","example":"40"},"medium":{"type":"integer","format":"int32","description":"Medium score threshold","example":"60"},"high":{"type":"integer","format":"int32","description":"High score threshold","example":"80"},"very-high":{"type":"integer","format":"int32","description":"Very high score threshold","example":"100"}},"required":["very-low","low","medium","high","very-high"],"type":"object"}},"required":["top-insights","all-insights","decide-later","security-score","security-score-scale"],"type":"object"}}}}},"description":"Retrieve summary statistics for policy insights reporting.\nProvides high-level metrics including top insights, total insights, and security scores.\n\nCan be filtered by policy or layer to show specific scope.\nIncludes count of suggestions marked as 'decide later'.","security":[],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"filters":{"properties":{"policy-id":{"type":"string","format":"uuid","description":"Policy identifier associated with the event","pattern":"^[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$","example":"bc41dc2c-4a15-4b7f-ba64-53bb1ca39dc0"},"layer-id":{"type":"string","format":"uuid","description":"Layer identifier associated with the event","pattern":"^[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$","example":"bc41dc2c-4a15-4b7f-ba64-53bb1ca39dc0"},"suggestion-type":{"description":"Type of insight","enum":["unused-objects","tighten-rule","delete-disabled-rule","zero-hits-rule"],"type":"string","x-enum-varnames":["UnusedObjects","TightenRule","DeleteDisabledRule","ZeroHitsRule"],"example":"unused-objects"}},"type":"object"}},"type":"object"}}}},"tags":["Insights API - v3.1"]}},"/insights/v3.1/show-report-user-actions":{"post":{"operationId":"ShowReportUserActionsV3v1","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"properties":{"data":{"properties":{"all":{"items":{"properties":{"date":{"type":"string","description":"Date value in string format","example":"2024-01-15T00:00:00Z"},"accepted":{"type":"integer","format":"int32","description":"Number of accepted suggestions","example":"25"},"rejected":{"type":"integer","format":"int32","description":"Number of rejected suggestions","example":"10"}},"required":["date","accepted","rejected"],"type":"object"},"type":"array"}},"required":["all"],"type":"object"}},"required":["data"],"type":"object"}}}}},"description":"Retrieve user actions report showing accepted and rejected suggestions over time.\nProvides historical data for tracking user engagement with suggestions.\n\nResponse includes daily breakdown of accepted vs rejected suggestions,\nfiltered by policy, layer, suggestion type, and date range.","security":[],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"filters":{"properties":{"policy-id":{"type":"string","format":"uuid","description":"Policy identifier associated with the event","pattern":"^[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$","example":"bc41dc2c-4a15-4b7f-ba64-53bb1ca39dc0"},"layer-id":{"type":"string","format":"uuid","description":"Layer identifier associated with the event","pattern":"^[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$","example":"bc41dc2c-4a15-4b7f-ba64-53bb1ca39dc0"},"suggestion-type":{"description":"Type of insight","enum":["unused-objects","tighten-rule","delete-disabled-rule","zero-hits-rule"],"type":"string","x-enum-varnames":["UnusedObjects","TightenRule","DeleteDisabledRule","ZeroHitsRule"],"example":"unused-objects"},"start-date":{"type":"string","description":"Timestamp when the operation started","example":"2024-01-15T08:00:00Z"}},"type":"object"}},"type":"object"}}}},"tags":["Insights API - v3.1"]}},"/insights/v3.1/show-rules-uids-with-suggestions":{"post":{"operationId":"ShowRulesUidsWithSuggestionsV3v1","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"properties":{"rules-uids":{"items":{"type":"string"},"type":"array","description":"Array of rule unique identifiers","example":["bc41dc2c-4a15-4b7f-ba64-53bb1ca39dc0","d4e5f6a7-b8c9-0d1e-2f3a-4b5c6d7e8f90"]},"inline-layer-rules-uids":{"items":{"type":"string"},"type":"array","description":"Array of inline layer rule unique identifiers","example":["bc41dc2c-4a15-4b7f-ba64-53bb1ca39dc0","d4e5f6a7-b8c9-0d1e-2f3a-4b5c6d7e8f90"]}},"required":["rules-uids","inline-layer-rules-uids"],"type":"object"}}}}},"description":"Retrieve rule UIDs that have suggestions for a specific suggestion type using the required layer UID.\nEnhanced to show both direct suggestions and inline layer suggestions.\nSupports filtering by suggestion creation time using start-date (ISO 8601 format).","security":[],"parameters":[],"requestBody":{"description":"Parameters for showing rules UIDs with their suggestions","required":true,"content":{"application/json":{"schema":{"properties":{"layer":{"type":"string","format":"uuid","description":"Access layer identifier in UUID format","pattern":"^[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$","example":"b7f8fa74-4360-476e-ae24-491382501e15"},"filters":{"properties":{"states":{"items":{"description":"State of a suggestion - either ACCEPTED or REJECTED","enum":["ACCEPTED","REJECTED"],"type":"string","x-enum-varnames":["ACCEPTED","REJECTED"]},"type":"array","description":"Array of insight state values","example":["REJECTED","ACCEPTED"]},"user-interaction":{"properties":{"operator":{"description":"Operator for filtering by user-interaction-types","enum":["NOT-IN","IN"],"type":"string","x-enum-varnames":["NOT_IN","IN"],"example":"IN"},"types":{"items":{"description":"Type of user interaction with an insight","enum":["DECIDE_LATER"],"type":"string","x-enum-varnames":["DECIDE_LATER"]},"type":"array","description":"Array of user interaction type values","example":["DECIDE_LATER"]}},"required":["types"],"type":"object"},"security-impact":{"enum":["HIGH","MEDIUM_AND_ABOVE","LOW_AND_ABOVE"],"type":"string","x-enum-varnames":["HIGH","MEDIUM_AND_ABOVE","LOW_AND_ABOVE"],"description":"Minimum security impact threshold to include","example":"HIGH"},"confidence-level":{"enum":["HIGH","MEDIUM_AND_ABOVE","LOW_AND_ABOVE"],"type":"string","x-enum-varnames":["HIGH","MEDIUM_AND_ABOVE","LOW_AND_ABOVE"],"description":"Minimum confidence threshold to include","example":"MEDIUM_AND_ABOVE"},"default-filter":{"enum":["NONE"],"type":"string","x-enum-varnames":["NONE"],"description":"Ignore default filtering of the system","example":"NONE"},"suggestions-type":{"description":"Type of insight","enum":["unused-objects","tighten-rule","delete-disabled-rule","zero-hits-rule"],"type":"string","x-enum-varnames":["UnusedObjects","TightenRule","DeleteDisabledRule","ZeroHitsRule"],"example":"unused-objects"},"start-date":{"type":"string","description":"Timestamp when the suggestion was created","example":"2025-01-01T00:00:00Z","format":"date-time"}},"required":["suggestions-type"],"type":"object"}},"required":["layer","filters"],"type":"object","description":"Parameters for showing rules UIDs with their suggestions"},"examples":{"Example 1":{"value":{"layer":"7fcb90c4-d517-4756-a3ad-ef5a4bcd8523","filters":{"suggestions-type":"tighten-rule","start-date":"2025-01-01T00:00:00Z"}}},"Example 2":{"value":{"layer":"7fcb90c4-d517-4756-a3ad-ef5a4bcd8523","filters":{"suggestions-type":"unused-objects","states":["ACCEPTED"],"security-impact":"HIGH","confidence-level":"HIGH","start-date":"2025-06-01T00:00:00Z"}}}}}}},"tags":["Insights API - v3.1"]}},"/insights/v3.1/show-state":{"post":{"operationId":"ShowStateV3v1","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"properties":{"enabled":{"type":"boolean","description":"Whether Policy Insights enabled state","example":"true"}},"required":["enabled"],"type":"object"}}}}},"description":"Shows Policy Insights enabled/disabled status\nAllows the Infinity Cloud Services page to determine current state","security":[],"parameters":[],"deprecated":false,"tags":["Insights API - v3.1"]}},"/insights/v3.1/show-suggestion-engine-metadata":{"post":{"operationId":"ShowSuggestionEngineMetadataV3v1","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"properties":{"metadata":{"items":{"properties":{"planned-next-run":{"type":"string","description":"Timestamp of the next planned execution","example":"2024-01-16T12:00:00Z"},"engine-task":{"description":"Represents engine task metadata information","properties":{"id":{"type":"integer","format":"int32","description":"Task identifier"},"planned-next-run-raw-data":{"type":"string","description":"Raw timestamp data for the next planned execution","example":"2024-01-16T12:00:00Z"}},"required":["id","planned-next-run-raw-data"],"type":"object"},"suggestion-type":{"description":"Type of insight","enum":["unused-objects","tighten-rule","delete-disabled-rule","zero-hits-rule"],"type":"string","x-enum-varnames":["UnusedObjects","TightenRule","DeleteDisabledRule","ZeroHitsRule"]}},"required":["planned-next-run","engine-task","suggestion-type"],"type":"object"},"type":"array"}},"required":["metadata"],"type":"object"},"examples":{"No filters are provided":{"value":{"metadata":[{"suggestion-type":"unused-objects","planned-next-run":"2025-12-25T00:00:00Z","task":{"id":6,"planned-next-run-raw-data":"2025-12-25T12:03:03.692Z"}},{"suggestion-type":"tighten-rule","planned-next-run":"2025-12-26T00:00:00Z","task":{"id":7,"planned-next-run-raw-data":"2025-12-26T12:03:03.692Z"}},{"suggestion-type":"delete-disabled-rule","planned-next-run":"2025-12-27T00:00:00Z","task":{"id":8,"planned-next-run-raw-data":"2025-12-27T12:03:03.692Z"}},{"suggestion-type":"zero-hits-rule","planned-next-run":"2025-12-28T00:00:00Z","task":{"id":9,"planned-next-run-raw-data":"2025-12-28T12:03:03.692Z"}}]}},"Filtering for unused-objects and tighten-rule types only":{"value":{"metadata":[{"suggestion-type":"unused-objects","planned-next-run":"2025-12-24T00:00:00Z","task":{"id":10,"planned-next-run-raw-data":"2025-12-24T18:30:00Z"}},{"suggestion-type":"tighten-rule","planned-next-run":"2025-12-24T00:00:00Z","task":{"id":11,"planned-next-run-raw-data":"2025-12-24T20:15:30.123Z"}}]}},"Filtering for delete-disabled-rule type only":{"value":{"metadata":[{"suggestion-type":"delete-disabled-rule","planned-next-run":"2025-12-30T00:00:00Z","task":{"id":12,"planned-next-run-raw-data":"2025-12-30T09:00:00Z"}}]}}}}}}},"description":"Retrieve next suggestions engine run schedule for each suggestion type","security":[],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"filters":{"properties":{"suggestion-type":{"description":"Type of insight","enum":["unused-objects","tighten-rule","delete-disabled-rule","zero-hits-rule"],"type":"string","x-enum-varnames":["UnusedObjects","TightenRule","DeleteDisabledRule","ZeroHitsRule"],"example":"unused-objects"}},"type":"object"}},"type":"object"}}}},"deprecated":false,"tags":["Insights API - v3.1"]}},"/insights/v3.1/show-suggestions":{"post":{"operationId":"ShowSuggestionsV3v1","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"properties":{"total":{"type":"integer","format":"int32","description":"Total number of items","example":"150"},"from":{"type":"integer","format":"int32","description":"Starting index for pagination","example":"0"},"to":{"type":"integer","format":"int32","description":"Ending index for pagination","example":"49"},"batch":{"properties":{"based-on-publish-timestamp":{"type":"string","description":"Timestamp when the batch of insights was published","example":"2024-01-15T10:30:00Z"},"days-back":{"type":"integer","format":"int32","description":"Number of days since the current batch of insights was published","example":"30"},"started-at":{"type":"string","description":"Timestamp when the operation started","example":"2024-01-15T08:00:00Z"},"ended-at":{"type":"string","description":"Timestamp when the operation ended","example":"2024-01-15T18:00:00Z"},"telemetry-servers":{"items":{"properties":{"uid":{"type":"string","description":"Telemetry server unique identifier","example":"bc41dc2c-4a15-4b7f-ba64-53bb1ca39dc0"},"data":{"enum":["FULL","NONE"],"type":"string","x-enum-varnames":["FULL","NONE"]}},"required":["uid","data"],"type":"object"},"type":"array","description":"Array of telemetry server information","example":[{"uid":"acf7fdce-9525-4049-ba46-6a9015423061","data":"FULL"},{"uid":"bdf8fdce-9525-4049-ba46-6a9015423062","data":"NONE"}]}},"required":["based-on-publish-timestamp","days-back","started-at","ended-at"],"type":"object"},"rule-suggestions":{"items":{"properties":{"rule":{"description":"Interface representing rule data structure","properties":{"uid":{"type":"string","description":"Rule unique identifier","example":"bc41dc2c-4a15-4b7f-ba64-53bb1ca39dc0"},"name":{"type":"string","description":"Rule name","example":"Allow HTTPS traffic"},"number":{"type":"integer","format":"int32","description":"Rule number identifier","example":"1"},"layer":{"type":"string","description":"Access layer identifier in UUID format","example":"b7f8fa74-4360-476e-ae24-491382501e15"},"layer-name":{"type":"string","description":"Access layer name whose rule belongs to","example":"Application"},"metadata":{"description":"Additional metadata associated with the rule","example":{"rule-creation-time":"2024-01-15T10:00:00Z","last-modified-by":"admin"}}},"required":["uid","layer","metadata"],"type":"object"},"suggestions":{"items":{"properties":{"user-feedback":{"properties":{"comment":{"type":"string","description":"User comment in feedback on an insight","example":"This insight looks good for our security policy"},"creator":{"type":"string","description":"User who created the feedback on an insight","example":"john.doe"}},"type":"object"},"uid":{"type":"string","description":"insight unique identifier","example":"bc41dc2c-4a15-4b7f-ba64-53bb1ca39dc0"},"confidence-level":{"type":"integer","format":"int32","description":"Confidence level (deprecated, use confidence instead)","example":"85"},"security-score":{"type":"integer","format":"int32","description":"Security score (deprecated, use security-impact instead)","example":"92"},"confidence":{"enum":["HIGH","MEDIUM","LOW"],"type":"string","x-enum-varnames":["HIGH","MEDIUM","LOW"]},"security-impact":{"enum":["HIGH","MEDIUM","LOW"],"type":"string","x-enum-varnames":["HIGH","MEDIUM","LOW"]},"disclaimers":{"items":{"properties":{"type":{"description":"Array of disclaimer objects related to the insight or rule","enum":["FRESH_RULE","LOW_LOG_COUNT","RULE_MODIFIED","OBJECTS_MODIFIED"],"type":"string","x-enum-varnames":["freshRule","lowLogCount","ruleModified","objectsModified"]},"description":{"type":"string"}},"required":["type","description"],"type":"object"},"type":"array","description":"Array of disclaimer objects related to the insight or rule","example":[{"type":"FRESH_RULE","description":"A newly added rule"}]},"interactions":{"items":{"properties":{"type":{"description":"Type of user interaction with an insight","enum":["DECIDE_LATER"],"type":"string","x-enum-varnames":["DECIDE_LATER"]}},"required":["type"],"type":"object"},"type":"array","description":"Array of user interactions with the insight","example":[{"type":"DECIDE_LATER"}]},"description":{"type":"string","description":"Description of the insight"},"metadata":{"properties":{},"type":"object","description":"Construct a type with a set of properties K of type T"},"type":{"description":"Type of insight","enum":["unused-objects","tighten-rule","delete-disabled-rule","zero-hits-rule"],"type":"string","x-enum-varnames":["UnusedObjects","TightenRule","DeleteDisabledRule","ZeroHitsRule"]},"content":{"properties":{"update":{"properties":{"source":{"properties":{"add":{"items":{"type":"string"},"type":"array","description":"Object uids list to be added to the rule","example":["bc41dc2c-4a15-4b7f-ba64-53bb1ca39dc0","d4e5f6a7-b8c9-0d1e-2f3a-4b5c6d7e8f90"]},"remove":{"items":{"type":"string"},"type":"array","description":"Object uids list to be removed from the rule","example":["bc41dc2c-4a15-4b7f-ba64-53bb1ca39dc0","d4e5f6a7-b8c9-0d1e-2f3a-4b5c6d7e8f90"]}},"type":"object"},"destination":{"properties":{"add":{"items":{"type":"string"},"type":"array","description":"Object uids list to be added to the rule","example":["bc41dc2c-4a15-4b7f-ba64-53bb1ca39dc0","d4e5f6a7-b8c9-0d1e-2f3a-4b5c6d7e8f90"]},"remove":{"items":{"type":"string"},"type":"array","description":"Object uids list to be removed from the rule","example":["bc41dc2c-4a15-4b7f-ba64-53bb1ca39dc0","d4e5f6a7-b8c9-0d1e-2f3a-4b5c6d7e8f90"]}},"type":"object"},"service":{"properties":{"add":{"items":{"type":"string"},"type":"array","description":"Object uids list to be added to the rule","example":["bc41dc2c-4a15-4b7f-ba64-53bb1ca39dc0","d4e5f6a7-b8c9-0d1e-2f3a-4b5c6d7e8f90"]},"remove":{"items":{"type":"string"},"type":"array","description":"Object uids list to be removed from the rule","example":["bc41dc2c-4a15-4b7f-ba64-53bb1ca39dc0","d4e5f6a7-b8c9-0d1e-2f3a-4b5c6d7e8f90"]}},"type":"object"}},"required":["source","destination","service"],"type":"object"},"reason":{"enum":["DISABLED","EXPIRED"],"type":"string","x-enum-varnames":["DISABLED","EXPIRED"]},"last-active-date":{"type":"string","description":"Date when the rule was last active","example":"2024-01-15T00:00:00Z"}},"required":["reason","last-active-date"],"type":"object"}},"required":["uid","type","content"],"type":"object"},"type":"array"}},"required":["rule","suggestions"],"type":"object"},"type":"array"}},"required":["total","from","to","rule-suggestions"],"type":"object"}}}}},"description":"Retrieve all suggestions with advanced filtering capabilities.\nIncludes suggestions from all inline layers.\nExcludes rejected/accepted suggestions by default.\nSupports filtering by suggestion creation time using start-date (ISO 8601 format).\n\nRequired Parameters:\n- Must provide either \"layer\" OR \"filters.rules-uids\" OR \"filters.uids\"\n- Cannot retrieve suggestions without specifying at least one of these targeting parameters","security":[],"parameters":[],"requestBody":{"description":"Parameters for showing suggestions with v3.1 capabilities","required":true,"content":{"application/json":{"schema":{"properties":{"layer":{"type":"string","format":"uuid","description":"Access layer identifier in UUID format","pattern":"^[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$","example":"b7f8fa74-4360-476e-ae24-491382501e15"},"options":{"properties":{"include-inline-layers":{"type":"boolean","description":"Whether to include insights on inline layers","example":"true"}},"type":"object"},"limit":{"type":"integer","format":"int32","description":"Maximum number of items to return","example":"50"},"offset":{"type":"integer","format":"int32","description":"Number of items to skip for pagination","example":"0"},"filters":{"properties":{"states":{"items":{"description":"State of a suggestion - either ACCEPTED or REJECTED","enum":["ACCEPTED","REJECTED"],"type":"string","x-enum-varnames":["ACCEPTED","REJECTED"]},"type":"array","description":"Array of insight state values","example":["REJECTED","ACCEPTED"]},"user-interaction":{"properties":{"operator":{"description":"Operator for filtering by user-interaction-types","enum":["NOT-IN","IN"],"type":"string","x-enum-varnames":["NOT_IN","IN"],"example":"IN"},"types":{"items":{"description":"Type of user interaction with an insight","enum":["DECIDE_LATER"],"type":"string","x-enum-varnames":["DECIDE_LATER"]},"type":"array","description":"Array of user interaction type values","example":["DECIDE_LATER"]}},"required":["types"],"type":"object"},"security-impact":{"enum":["HIGH","MEDIUM_AND_ABOVE","LOW_AND_ABOVE"],"type":"string","x-enum-varnames":["HIGH","MEDIUM_AND_ABOVE","LOW_AND_ABOVE"],"description":"Minimum security impact threshold to include","example":"HIGH"},"confidence-level":{"enum":["HIGH","MEDIUM_AND_ABOVE","LOW_AND_ABOVE"],"type":"string","x-enum-varnames":["HIGH","MEDIUM_AND_ABOVE","LOW_AND_ABOVE"],"description":"Minimum confidence threshold to include","example":"MEDIUM_AND_ABOVE"},"default-filter":{"enum":["NONE"],"type":"string","x-enum-varnames":["NONE"],"description":"Ignore default filtering of the system","example":"NONE"},"uids":{"items":{"type":"string","format":"uuid","description":"Stringified UUID.","pattern":"^[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"},"type":"array","description":"Array of insight unique identifiers","example":["bc41dc2c-4a15-4b7f-ba64-53bb1ca39dc0","d4e5f6a7-b8c9-0d1e-2f3a-4b5c6d7e8f90"]},"rules-uids":{"items":{"type":"string","format":"uuid","description":"Stringified UUID.","pattern":"^[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"},"type":"array","description":"Array of rule unique identifiers","example":["bc41dc2c-4a15-4b7f-ba64-53bb1ca39dc0","d4e5f6a7-b8c9-0d1e-2f3a-4b5c6d7e8f90"]},"types":{"items":{"description":"Type of insight","enum":["unused-objects","tighten-rule","delete-disabled-rule","zero-hits-rule"],"type":"string","x-enum-varnames":["UnusedObjects","TightenRule","DeleteDisabledRule","ZeroHitsRule"]},"type":"array","description":"Type of insight","example":"unused-objects"},"start-date":{"type":"string","description":"Timestamp when the suggestion was created","example":"2025-01-01T00:00:00Z","format":"date-time"}},"type":"object"}},"type":"object","description":"Parameters for showing suggestions with v3.1 capabilities"},"examples":{"Example 1":{"value":{"layer":"7fcb90c4-d517-4756-a3ad-ef5a4bcd8523","filters":{"types":["delete-disabled-rule","zero-hits-rule","unused-objects","tighten-rule"],"start-date":"2025-01-01T00:00:00Z"}}},"Example 2":{"value":{"layer":"a2c84d2c-902a-4cc5-b1bd-35c00578d464","filters":{"types":["zero-hits-rule"],"states":["REJECTED"],"security-impact":"HIGH","start-date":"2025-06-01T00:00:00Z"},"limit":5}}}}}},"tags":["Insights API - v3.1"]}},"/insights/v3.1/show-suggestions-info":{"post":{"operationId":"ShowSuggestionsInfoV3v1","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"properties":{"last-run":{"type":"string","description":"Timestamp of the last execution","example":"2024-01-15T12:00:00Z"},"planned-next-run":{"type":"string","description":"Timestamp of the next planned execution","example":"2024-01-16T12:00:00Z"},"messages":{"items":{"properties":{"title":{"type":"string","description":"Information message regarding your insights","example":"Working on your first insights"},"text":{"type":"string","description":"Text content of the message","example":"insights are available for review"},"suggestion-type":{"description":"Type of insight","enum":["unused-objects","tighten-rule","delete-disabled-rule","zero-hits-rule"],"type":"string","x-enum-varnames":["UnusedObjects","TightenRule","DeleteDisabledRule","ZeroHitsRule"]}},"required":["text"],"type":"object"},"type":"array"}},"required":["messages"],"type":"object"}}}}},"description":"Retrieve detailed information such as last engine run, next run schedule and suggestions status, can be specified by suggestion type.\nProvides onboarding guidance for cases where the system has not yet completed its first analysis and generated its first set of insights,\nor if insights were generated but can't see the suggestions.","security":[],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"layer":{"type":"string","format":"uuid","description":"Access layer identifier in UUID format","pattern":"^[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$","example":"b7f8fa74-4360-476e-ae24-491382501e15"}},"required":["layer"],"type":"object"}}}},"deprecated":false,"tags":["Insights API - v3.1"]}},"/insights/v3.1/show-suggestions-summary":{"post":{"operationId":"ShowSuggestionsSummaryV3v1","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"properties":{"batch":{"properties":{"based-on-publish-timestamp":{"type":"string","description":"Timestamp when the batch of insights was published","example":"2024-01-15T10:30:00Z"},"days-back":{"type":"integer","format":"int32","description":"Number of days since the current batch of insights was published","example":"30"},"started-at":{"type":"string","description":"Timestamp when the operation started","example":"2024-01-15T08:00:00Z"},"ended-at":{"type":"string","description":"Timestamp when the operation ended","example":"2024-01-15T18:00:00Z"},"telemetry-servers":{"items":{"properties":{"uid":{"type":"string","description":"Telemetry server unique identifier","example":"bc41dc2c-4a15-4b7f-ba64-53bb1ca39dc0"},"data":{"enum":["FULL","NONE"],"type":"string","x-enum-varnames":["FULL","NONE"]}},"required":["uid","data"],"type":"object"},"type":"array","description":"Array of telemetry server information","example":[{"uid":"acf7fdce-9525-4049-ba46-6a9015423061","data":"FULL"},{"uid":"bdf8fdce-9525-4049-ba46-6a9015423062","data":"NONE"}]}},"required":["based-on-publish-timestamp","days-back","started-at","ended-at"],"type":"object"},"suggestions-summary":{"items":{"properties":{"count":{"type":"integer","format":"int32","description":"Total number of items","example":"150"},"type":{"description":"Type of insight","enum":["unused-objects","tighten-rule","delete-disabled-rule","zero-hits-rule"],"type":"string","x-enum-varnames":["UnusedObjects","TightenRule","DeleteDisabledRule","ZeroHitsRule"]}},"required":["count","type"],"type":"object"},"type":"array"}},"type":"object"}}}}},"description":"Retrieve number of rule suggestions grouped by their type.\nProvides generation batch metadata about the current suggestions we see: how many days of traffic logs\nwere analyzed, on which publish timestamp the suggestions are based on.\nSupports filtering by suggestion creation time using start-date (ISO 8601 format).","security":[],"parameters":[],"requestBody":{"description":"Parameters for showing suggestions summary","required":true,"content":{"application/json":{"schema":{"properties":{"layer":{"type":"string","format":"uuid","description":"Access layer identifier in UUID format","pattern":"^[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$","example":"b7f8fa74-4360-476e-ae24-491382501e15"},"filters":{"properties":{"states":{"items":{"description":"State of a suggestion - either ACCEPTED or REJECTED","enum":["ACCEPTED","REJECTED"],"type":"string","x-enum-varnames":["ACCEPTED","REJECTED"]},"type":"array","description":"Array of insight state values","example":["REJECTED","ACCEPTED"]},"user-interaction":{"properties":{"operator":{"description":"Operator for filtering by user-interaction-types","enum":["NOT-IN","IN"],"type":"string","x-enum-varnames":["NOT_IN","IN"],"example":"IN"},"types":{"items":{"description":"Type of user interaction with an insight","enum":["DECIDE_LATER"],"type":"string","x-enum-varnames":["DECIDE_LATER"]},"type":"array","description":"Array of user interaction type values","example":["DECIDE_LATER"]}},"required":["types"],"type":"object"},"security-impact":{"enum":["HIGH","MEDIUM_AND_ABOVE","LOW_AND_ABOVE"],"type":"string","x-enum-varnames":["HIGH","MEDIUM_AND_ABOVE","LOW_AND_ABOVE"],"description":"Minimum security impact threshold to include","example":"HIGH"},"confidence-level":{"enum":["HIGH","MEDIUM_AND_ABOVE","LOW_AND_ABOVE"],"type":"string","x-enum-varnames":["HIGH","MEDIUM_AND_ABOVE","LOW_AND_ABOVE"],"description":"Minimum confidence threshold to include","example":"MEDIUM_AND_ABOVE"},"default-filter":{"enum":["NONE"],"type":"string","x-enum-varnames":["NONE"],"description":"Ignore default filtering of the system","example":"NONE"},"start-date":{"type":"string","description":"Timestamp when the suggestion was created","example":"2025-01-01T00:00:00Z","format":"date-time"}},"type":"object"}},"type":"object","description":"Parameters for showing suggestions summary"},"examples":{"Example 1":{"value":{"layer":"7fcb90c4-d517-4756-a3ad-ef5a4bcd8523","filters":{"start-date":"2025-01-01T00:00:00Z"}}},"Example 2":{"value":{"layer":"7fcb90c4-d517-4756-a3ad-ef5a4bcd8523","filters":{"security-impact":"HIGH","confidence-level":"LOW_AND_ABOVE","start-date":"2025-06-01T00:00:00Z"}}}}}}},"tags":["Insights API - v3.1"]}},"/insights/v3.1/unreject-suggestions":{"post":{"operationId":"UnrejectSuggestionsV3v1","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"type":"object"}}}}},"description":"Restore rejected requested suggestion to active suggestion list to allow reconsideration for acceptance","security":[],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"uids":{"items":{"type":"string","format":"uuid","description":"Stringified UUID.","pattern":"^[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"},"type":"array","description":"Array of insight unique identifiers","example":["bc41dc2c-4a15-4b7f-ba64-53bb1ca39dc0","d4e5f6a7-b8c9-0d1e-2f3a-4b5c6d7e8f90"]}},"required":["uids"],"type":"object"}}}},"deprecated":false,"tags":["Insights API - v3.1"]}},"/show-policy-insights-status":{"post":{"operationId":"ShowPolicyInsightsStatus","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"properties":{"messages":{"items":{"properties":{"type":{"enum":["INFO","WARNING","ERROR"],"type":"string","x-enum-varnames":["INFO","WARNING","ERROR"]},"text":{"type":"string","description":"Text content of the message","example":"insights are available for review"}},"required":["type","text"],"type":"object"},"type":"array","description":"An array of status messages providing additional information about the product status.","example":[{"type":"INFO","message":"Activation is in progress."}]},"license-status":{"properties":{"is-valid":{"type":"boolean","description":"Indicates if the license is currently valid","example":"true"},"is-expired":{"type":"boolean","description":"Indicates if the license has expired"},"grace-period-active":{"type":"boolean","description":"Indicates if the license grace period is currently active","example":"true"},"trial-entitled":{"type":"boolean","description":"Indicates if the user is entitled to trial features","example":"true"},"grace-period-expiration-date":{"type":"string","description":"Date when the license grace period expires","example":"2024-12-31T23:59:59Z"},"license":{"properties":{"license-type":{"type":"string","description":"Type of license","example":"PREVIEW"},"expiration-date":{"type":"string","description":"Date when the license expires","example":"2024-12-31T23:59:59Z"},"created-at":{"type":"string","description":"Date when the license was created","example":"2024-01-01T00:00:00Z"},"sku":{"type":"string","description":"License SKU identifier","example":"AFW-STANDARD-001"}},"required":["license-type","expiration-date","created-at","sku"],"type":"object"}},"required":["is-valid","is-expired","grace-period-active","trial-entitled"],"type":"object"},"status":{"properties":{"min-tp-api-version":{"type":"string","description":"Minimum supported Threat Prevention Insights API version","example":"v1.0"},"tp-api-version":{"type":"string","description":"Current Threat Prevention Insights API version","example":"v2.1"},"min-afw-api-version":{"type":"string","description":"Minimum supported Policy Insights API version","example":"v1.0"},"afw-api-version":{"type":"string","description":"Current Policy Insights API version","example":"v3.0"},"enabled":{"type":"boolean","description":"Indicates if the policy insights product is enabled","example":true}},"required":["min-afw-api-version","afw-api-version","enabled"],"type":"object"}},"required":["status"],"type":"object"}}}}},"description":"Shows Policy Insights status, reflecting the overall status of the product including supported API versions.\nReturns both Insights API versions and Threat Prevention Insights API versions when Threat Prevention is enabled.\nMay also include license status information if available.\nA license is required to activate the product, and the status provides details about the validity and expiration of the product license.\nMay return status messages providing additional context about the product status, such as activation progress.","security":[],"parameters":[],"tags":["Policy Insights Status API"]}}},"security":[{"public":[]}]}