AppOmni Policies API

Create, read, update and delete AppOmni security policies and the rules inside them, run and inspect policy assessments, and handle rule events — closing them, converting them to exceptions, or bulk deleting rules.

Operations 23

GET /api/v1/core/policy/ Retrieve Posture Policies #
GET /api/v1/core/policy/{id}/ Get Policy #
PATCH /api/v1/core/policy/{id}/ Assign Target Tags to Policy #
POST /api/v1/core/policy/{id}/scan/ Start Policy Scan #
GET /api/v1/core/policyassessment/check_status/ Check Policy Scan Status and Results #
GET /api/v1/core/ruleevent/ List Open Policy Issues #
GET /api/v1/compliance/evaluated_controls/ List Compliance Controls for Policy Rule #
GET /api/v1/{service_type}/rule/ Retrieve Selected Posture Policy Rule Options #
GET /api/v1/{policy_type}/rule/ Retrieve Rules for Policy #
PATCH /api/v1/{service_type}/rule/{rule_id}/ Update Policy Rule #
GET /api/v1/core/tag/ Retrieve Impact Tags #
GET /api/v1/{service_type}/ruleevent/{id}/list_instances/ List open policy violations #
GET /api/v1/{service_type}/ruleevent/meta/ Get current user's permissions for policy issues #
POST /api/v1/{service_type}/ruleevent/convert_to_exception/ Allow rule event violation #
PATCH /api/v1/{service_type}/ruleevent/close/ Close rule event violation #
DELETE /api/v1/{service_type}/rule/{id}/ Delete an individual rule within a policy #
DELETE /api/v1/{service_type}/rule/bulk_delete/ Bulk delete rules within a policy #
GET /api/v1/core/monitoredservice/{id}/last_successful_policy_assessments/ List the last successful scan time for the active policies in a given monitored service #
GET /api/v1/core/policy/{id}/last_successful_policy_assessments/ List the last successful scan time for all monitored services on a given active policy #
GET /api/v1/{serviceType}/svcexp/{serviceId}/servicesettings/ List MS Service Settings #
GET /api/v1/o365/svcexp/{serviceId}/policy/ List Policy Settings - M365 Only #
POST /api/v1/core/policy/snapshot/ Create a Posture Policy Snapshot #
GET /api/v1/core/monitoredservice/score/policycomponents/{policy_id}/ Get policy stats #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/appomni-policies-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

appomni-policies-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AppOmni Policies API
  description: 'Security policy and rule configuration, policy assessment and rule-event handling across
    monitored SaaS services.


    Derived faithfully from the AppOmni public Postman collection published by AppOmni at https://api.appomni.com/
    — every path, method, parameter, request body and example response below is taken verbatim from that
    collection. No operation was invented.'
  version: 1.0.0
  contact:
    name: AppOmni
    url: https://appomni.com/support/
  license:
    name: Proprietary
    url: https://appomni.com/terms-of-service/
  x-generated-from: AppOmni public Postman collection (publishedId 2sBXc7Mjib, published 2026-02-04)
  x-generated-source: https://api.appomni.com/api/collections/45135595/2sBXc7Mjib?segregateAuth=true&versionTag=latest
  x-generated-method: derived
  x-generated-date: '2026-09-04'
servers:
- url: https://{instance}.appomni.com
  description: AppOmni tenant. Replace {instance} with your AppOmni subdomain — e.g. `acme` if you log
    in at acme.appomni.com.
  variables:
    instance:
      default: example
      description: Your AppOmni tenant subdomain
security:
- bearerAuth: []
tags:
- name: Policies
- name: '[Beta] Policy Assessment Stats'
  description: "THIS FEATURE IS IN BETA - Please contact Customer Success to enable this early access\
    \ API\n\n Provides a granular breakdown of policy assessments across monitored services, allowing\
    \ you to identify areas of compliance and risk.\n\n The response returns a nested dictionary structure\
    \ mapping monitored services to their associated risk levels, and providing passing/failing counts\
    \ for each risk level."
paths:
  /api/v1/core/policy/:
    get:
      operationId: retrievePosturePolicies
      summary: Retrieve Posture Policies
      tags:
      - Policies
      description: "Returns a list of posture policies configured for the specified monitored service(s)\n\
        \n Response Fields\n\n Field \n Data Type \n Description \n Example \n\n id \n Integer \n Unique\
        \ identifier for the resource \n 330516 \n\n created \n String (ISO datetime) \n Timestamp when\
        \ the record was created \n 2022-12-05T22:03:58.321175Z \n\n modified \n String (ISO datetime)\
        \ \n Timestamp when the record was last modified \n 2023-03-24T21:02:10.994053Z \n\n external_id\
        \ \n Integer or null \n External system identifier \n null \n\n created_by \n Integer \n ID of\
        \ the user who created the record \n 3362 \n\n modified_by \n Integer \n ID of the user who last\
        \ modified the record \n 3362 \n\n owner \n Integer \n ID of the record owner \n 3362 \n\n internal_id\
        \ \n String (UUID) \n Internal system identifier \n 322bb353-70dc-4cc5-b7ba-5ab292460231 \n\n\
        \ baseline_policy_for_tenant \n Boolean \n Baseline policy for tenant \n false \n\n name \n String\
        \ \n Name of the resource \n ds-1 \n\n description \n String or null \n Description of the resource\
        \ \n null \n\n active \n Boolean \n Whether the resource is active \n true \n\n policy_type \n\
        \ String \n Type of policy \n sfdc \n\n policy_type_slug \n String \n Policy type slug \n sfdc\
        \ \n\n custom_service_type \n String or null \n Type of custom service \n null \n\n tags \n Array\
        \ \n List of associated tags \n [] \n\n is_reference \n Boolean \n Whether the resource is reference\
        \ \n false \n\n from_reference_policy \n String or null \n From reference policy \n null \n\n\
        \ notify_pol_owner \n Boolean \n Notify pol owner \n false \n\n notify_ms_recips \n Boolean \n\
        \ Notify ms recips \n false \n\n notify_user \n String or null \n Notify user \n null \n\n service_groups\
        \ \n Array[Integer] \n List of service groups \n [107310] \n\n monitored_services \n Array \n\
        \ List of monitored services \n [] \n\n role \n String \n Role \n security \n\n mode \n String\
        \ \n Mode \n whitelist \n\n issue_handling \n String \n Issue handling \n notify \n\n scheduled\
        \ \n Boolean \n Whether the resource is scheduled \n true \n\n pol_interval \n String \n Pol interval\
        \ \n 12:00:00 \n\n last_run \n String (ISO datetime) \n Timestamp of the last execution \n 2023-03-24T20:04:16.823492Z\
        \ \n\n last_scheduled \n String (ISO datetime) \n Last scheduled \n 2023-03-24T20:02:33.530066Z\
        \ \n\n last_completed_scan \n String (ISO datetime) \n Last completed scan \n 2023-03-24T20:04:16.823492Z\
        \ \n\n last_policy_assessment_status \n String \n Status of last policy assessment \n success\
        \ \n\n last_policy_assessment_error_code \n String or null \n Last policy assessment error code\
        \ \n null \n\n targets_count \n Integer \n Number of items \n 1 \n\n monitored_services_count\
        \ \n Integer \n Number of items \n 0 \n\n risk_statistics \n Object \n Risk statistics \n {} \n\
        \n external_data \n String or null \n External data \n null"
      parameters:
      - name: policy_type
        in: query
        required: false
        description: Query parameter policy_type
        schema:
          type: string
      responses:
        '200':
          description: Retrieve Posture Policies
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
              examples:
                RetrievePosturePolicies:
                  summary: Retrieve Posture Policies
                  value:
                  - id: 330516
                    created: '2022-12-05T22:03:58.321175Z'
                    modified: '2023-03-24T21:02:10.994053Z'
                    external_id: null
                    created_by: 3362
                    modified_by: 3362
                    owner: 3362
                    internal_id: 322bb353-70dc-4cc5-b7ba-5ab292460231
                    baseline_policy_for_tenant: false
                    name: ds-1
                    description: null
                    active: true
                    policy_type: sfdc
                    policy_type_slug: sfdc
                    custom_service_type: null
                    tags: []
                    is_reference: false
                    from_reference_policy: null
                    notify_pol_owner: false
                    notify_ms_recips: false
                    notify_user: null
                    service_groups:
                    - 107310
                    monitored_services: []
                    role: security
                    mode: whitelist
                    issue_handling: notify
                    scheduled: true
                    pol_interval: '12:00:00'
                    last_run: '2023-03-24T20:04:16.823492Z'
                    last_scheduled: '2023-03-24T20:02:33.530066Z'
                    last_completed_scan: '2023-03-24T20:04:16.823492Z'
                    last_policy_assessment_status: success
                    last_policy_assessment_error_code: null
                    targets_count: 1
                    monitored_services_count: 0
                    risk_statistics: {}
                    external_data: null
                  - id: 330517
                    created: '2022-12-05T22:08:16.525753Z'
                    modified: '2023-03-24T21:38:33.623855Z'
                    external_id: '212609'
                    created_by: 3362
                    modified_by: 3362
                    owner: 3362
                    internal_id: 1855824b-49f4-4b35-bc5c-a838ae29c601
                    baseline_policy_for_tenant: true
                    name: 'Salesforce: ISO 27001:2013'
                    description: null
                    active: true
                    policy_type: sfdc
                    policy_type_slug: sfdc
                    custom_service_type: null
                    tags: []
                    is_reference: false
                    from_reference_policy: 212609
                    notify_pol_owner: false
                    notify_ms_recips: false
                    notify_user: null
                    service_groups: []
                    monitored_services:
                    - 26063
                    role: monitored_service_config
                    mode: blacklist
                    issue_handling: notify
                    scheduled: true
                    pol_interval: 01:00:00
                    last_run: '2023-03-24T21:26:56.912034Z'
                    last_scheduled: '2023-03-24T21:26:38.374056Z'
                    last_completed_scan: '2023-03-24T21:26:56.912034Z'
                    last_policy_assessment_status: success
                    last_policy_assessment_error_code: null
                    targets_count: 1
                    monitored_services_count: 1
                    risk_statistics:
                      risk_score: 0
                      risk_levels:
                      - name: Informational
                        risk_count: 2
                        max_risk_score: 0
                      - name: Low
                        risk_count: 0
                        max_risk_score: 0
                      - name: Medium
                        risk_count: 0
                        max_risk_score: 0
                      - name: High
                        risk_count: 0
                        max_risk_score: 0
                      - name: Critical
                        risk_count: 0
                        max_risk_score: 0
                      max_risks_only:
                        risk_score: 0
                        risk_levels:
                        - name: Informational
                          risk_count: 2
                          max_risk_score: 0
                        - name: Low
                          risk_count: 0
                          max_risk_score: 0
                        - name: Medium
                          risk_count: 0
                          max_risk_score: 0
                        - name: High
                          risk_count: 0
                          max_risk_score: 0
                        - name: Critical
                          risk_count: 0
                          max_risk_score: 0
                        max_risks_only: null
                    external_data: null
                  - id: 330518
                    created: '2022-12-05T22:09:06.094268Z'
                    modified: '2022-12-05T22:09:06.094288Z'
                    external_id: '166344'
                    created_by: 3362
                    modified_by: null
                    owner: 3362
                    internal_id: 6ab7f626-0dfb-423c-8eb8-e42b520bb226
                    baseline_policy_for_tenant: false
                    name: 'Salesforce: SOC 2 Type 1'
                    description: null
                    active: true
                    policy_type: sfdc
                    policy_type_slug: sfdc
                    custom_service_type: null
                    tags: []
                    is_reference: false
                    from_reference_policy: 166344
                    notify_pol_owner: false
                    notify_ms_recips: false
                    notify_user: null
                    service_groups: []
                    monitored_services: []
                    role: monitored_service_config
                    mode: blacklist
                    issue_handling: notify
                    scheduled: true
                    pol_interval: 01:00:00
                    last_run: null
                    last_scheduled: null
                    last_completed_scan: null
                    last_policy_assessment_status: null
                    last_policy_assessment_error_code: null
                    targets_count: 0
                    monitored_services_count: 0
                    risk_statistics: {}
                    external_data: null
                  - id: 372222
                    created: '2023-02-16T15:59:04.069054Z'
                    modified: '2023-02-16T16:01:29.533521Z'
                    external_id: null
                    created_by: 3362
                    modified_by: 3362
                    owner: 3362
                    internal_id: 098206d2-6afb-4c9f-be4c-efde286fdd71
                    baseline_policy_for_tenant: false
                    name: test-day
                    description: null
                    active: true
                    policy_type: sfdc
                    policy_type_slug: sfdc
                    custom_service_type: null
                    tags: []
                    is_reference: false
                    from_reference_policy: null
                    notify_pol_owner: false
                    notify_ms_recips: false
                    notify_user: null
                    service_groups:
                    - 107310
                    monitored_services: []
                    role: security
                    mode: blacklist
                    issue_handling: notify
                    scheduled: true
                    pol_interval: '12:00:00'
                    last_run: '2023-03-24T20:04:16.823492Z'
                    last_scheduled: '2023-03-24T20:02:33.530066Z'
                    last_completed_scan: '2023-03-24T20:04:16.823492Z'
                    last_policy_assessment_status: success
                    last_policy_assessment_error_code: null
                    targets_count: 1
                    monitored_services_count: 0
                    risk_statistics: {}
                    external_data: null
                  - id: 372224
                    created: '2023-02-16T16:04:34.255911Z'
                    modified: '2023-03-24T18:30:01.471226Z'
                    external_id: null
                    created_by: 3362
                    modified_by: 3362
                    owner: 3362
                    internal_id: 560622dc-a6e6-4b07-aaa7-457231165bda
                    baseline_policy_for_tenant: false
                    name: smm-test
                    description: '{"ops":[{"insert":"testing 123\n"}]}'
                    active: true
                    policy_type: sfdc
                    policy_type_slug: sfdc
                    custom_service_type: null
                    tags: []
                    is_reference: false
                    from_reference_policy: null
                    notify_pol_owner: false
                    notify_ms_recips: false
                    notify_user: null
                    service_groups: []
                    monitored_services:
                    - 26063
                    role: monitored_service_config
                    mode: blacklist
                    issue_handling: notify
                    scheduled: true
                    pol_interval: 08:00:00
                    last_run: '2023-03-24T18:29:39.679356Z'
                    last_scheduled: '2023-03-24T18:29:30.320152Z'
                    last_completed_scan: '2023-03-24T18:29:39.679356Z'
                    last_policy_assessment_status: success
                    last_policy_assessment_error_code: null
                    targets_count: 1
                    monitored_services_count: 1
                    risk_statistics:
                      risk_score: 0
                      risk_levels:
                      - name: Informational
                        risk_count: 1
                        max_risk_score: 0
                      - name: Low
                        risk_count: 0
                        max_risk_score: 0
                      - name: Medium
                        risk_count: 0
                        max_risk_score: 0
                      - name: High
                        risk_count: 0
                        max_risk_score: 0
                      - name: Critical
                        risk_count: 0
                        max_risk_score: 0
                      max_risks_only:
                        risk_score: 0
                        risk_levels:
                        - name: Informational
                          risk_count: 1
                          max_risk_score: 0
                        - name: Low
                          risk_count: 0
                          max_risk_score: 0
                        - name: Medium
                          risk_count: 0
                          max_risk_score: 0
                        - name: High
                          risk_count: 0
                          max_risk_score: 0
                        - name: Critical
                          risk_count: 0
                          max_risk_score: 0
                        max_risks_only: null
                    external_data: null
                  - id: 390027
                    created: '2023-03-20T19:29:11.152396Z'
                    modified: '2023-03-20T19:31:03.208381Z'
                    external_id: null
                    created_by: 9153
                    modified_by: null
                    owner: 9153
                    internal_id: 640c9987-efa4-43ae-8106-2c2aade3ae04
                    baseline_policy_for_tenant: false
                    name: Test policy for workday
                    description: null
                    active: true
                    policy_type: workday
                    policy_type_slug: workday
                    custom_service_type: null
                    tags: []
                    is_reference: false
                    from_reference_policy: null
                    notify_pol_owner: false
                    notify_ms_recips: false
                    notify_user: null
                    service_groups: []
                    monitored_services: []
                    role: monitored_service_config
                    mode: blacklist
                    issue_handling: notify
                    scheduled: true
                    pol_interval: 08:00:00
                    last_run: null
                    last_scheduled: null
                    last_completed_scan: null
                    last_policy_assessment_status: null
                    last_policy_assessment_error_code: null
                    targets_count: 0
                    monitored_services_count: 0
                    risk_statistics: {}
                    external_data: null
                  - id: 392490
                    created: '2023-03-24T20:45:28.212464Z'
                    modified: '2023-03-24T20:45:43.373981Z'
                    external_id: null
                    created_by: 3362
                    modified_by: null
                    owner: 3362
                    internal_id: bf6f7d22-2be0-4c26-a9cf-9da2344f5155
                    baseline_policy_for_tenant: false
                    name: Policy test
                    description: null
                    active: true
                    policy_type: sfdc
                    policy_type_slug: sfdc
                    custom_service_type: null
                    tags: []
                    is_reference: false
                    from_reference_policy: null
                    notify_pol_owner: false
                    notify_ms_recips: false
                    notify_user: null
                    service_groups: []
                    monitored_services: []
                    role: security
                    mode: whitelist
                    issue_handling: notify
                    scheduled: true
                    pol_interval: '12:00:00'
                    last_run: null
                    last_scheduled: null
                    last_completed_scan: null
                    last_policy_assessment_status: null
                    last_policy_assessment_error_code: null
                    targets_count: 0
                    monitored_services_count: 0
                    risk_statistics: {}
                    external_data: null
                  - id: 392491
                    created: '2023-03-24T20:46:54.296919Z'
                    modified: '2023-03-24T20:51:32.002703Z'
                    external_id: null
                    created_by: 3362
                    modified_by: 3362
                    owner: 3362
                    internal_id: 3316651b-f505-4917-9921-fd7db9fb0ced
                    baseline_policy_for_tenant: false
                    name: Functional policy test
                    description: '{"ops":[{"insert":"Test for API response\n"}]}'
                    active: true
                    policy_type: sfdc
                    policy_type_slug: sfdc
                    custom_service_type: null
                    tags: []
                    is_reference: false
                    from_reference_policy: null
                    notify_pol_owner: false
                    notify_ms_recips: false
                    notify_user: null
                    service_groups:
                    - 107310
                    monitored_services: []
                    role: functional
                    mode: whitelist
                    issue_handling: notify
                    scheduled: true
                    pol_interval: '12:00:00'
                    last_run: '2023-03-24T20:53:08.344454Z'
                    last_scheduled: '2023-03-24T20:51:33.595679Z'
                    last_completed_scan: '2023-03-24T20:53:08.344454Z'
                    last_policy_assessment_status: success
                    last_policy_assessment_error_code: null
                    targets_count: 1
                    monitored_services_count: 0
                    risk_statistics: {}
                    external_data: null
        '401':
          description: Unauthorized — missing or invalid AppOmni API token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden — the token lacks permission for this resource
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /api/v1/core/policy/{id}/:
    get:
      operationId: getPolicy
      summary: Get Policy
      tags:
      - Policies
      description: "Response Fields\n\n Field \n Data Type \n Description \n Example \n\n id \n Integer\
        \ \n Unique identifier for the resource \n 591391 \n\n created \n String (ISO datetime) \n Timestamp\
        \ when the record was created \n 2024-02-20T18:48:37.189165Z \n\n modified \n String (ISO datetime)\
        \ \n Timestamp when the record was last modified \n 2024-02-20T19:05:43.282655Z \n\n external_id\
        \ \n Integer or null \n External system identifier \n null \n\n created_by \n Integer \n ID of\
        \ the user who created the record \n 1526 \n\n modified_by \n String (ISO datetime) or null \n\
        \ ID of the user who last modified the record \n null \n\n owner \n Integer \n ID of the record\
        \ owner \n 1526 \n\n internal_id \n String (UUID) \n Internal system identifier \n 453a6236-79eb-4cf6-b38b-3cfcaf7b3277\
        \ \n\n baseline_policy_for_tenant \n Boolean \n Baseline policy for tenant \n false \n\n name\
        \ \n String \n Name of the resource \n Auth0: Baseline Posture Settings \n\n description \n String\
        \ or null \n Description of the resource \n null \n\n active \n Boolean \n Whether the resource\
        \ is active \n true \n\n policy_type \n String \n Type of policy \n auth0 \n\n policy_type_slug\
        \ \n String \n Policy type slug \n auth0 \n\n custom_service_type \n String or null \n Type of\
        \ custom service \n null \n\n installed_service_type \n String or null \n Type of installed service\
        \ \n null \n\n tags \n Array \n List of associated tags \n [] \n\n is_reference \n Boolean \n\
        \ Whether the resource is reference \n true \n\n from_reference_policy \n String or null \n From\
        \ reference policy \n null \n\n notify_pol_owner \n Boolean \n Notify pol owner \n false \n\n\
        \ notify_ms_recips \n Boolean \n Notify ms recips \n false \n\n notify_user \n String or null\
        \ \n Notify user \n null \n\n service_groups \n Array \n List of service groups \n [] \n\n monitored_services\
        \ \n Array \n List of monitored services \n [] \n\n role \n String \n Role \n monitored_service_config\
        \ \n\n mode \n String \n Mode \n blacklist \n\n issue_handling \n String \n Issue handling \n\
        \ notify \n\n scheduled \n Boolean \n Whether the resource is scheduled \n true \n\n pol_interval\
        \ \n String \n Pol interval \n 08:00:00 \n\n last_run \n String or null \n Timestamp of the last\
        \ execution \n null \n\n last_scheduled \n String or null \n Last scheduled \n null \n\n last_completed_scan\
        \ \n String or null \n Last completed scan \n null \n\n last_policy_assessment_status \n String\
        \ or null \n Status of last policy assessment \n null \n\n last_policy_assessment_error_code \n\
        \ String or null \n Last policy assessment error code \n null \n\n monitored_services_count \n\
        \ Integer \n Number of items \n 0 \n\n risk_statistics \n Object \n Risk statistics \n {} \n\n\
        \ external_data \n String or null \n External data \n null \n\n default_action \n String or null\
        \ \n Default action \n null \n\n asset_restrictions \n Array \n List of asset restrictions \n\
        \ [] \n\n pers_fresh_ttl \n String \n Pers fresh ttl \n 1 00:00:00 \n\n notification_frequency\
        \ \n String \n Notification frequency \n immediate \n\n extra_notification_emails \n Array \n\
        \ List of extra notification emails \n [] \n\n notif_env_filter_tags \n Array \n List of notif\
        \ env filter tags \n [] \n\n ext_services_enabled \n Array \n Whether ext services is enabled\
        \ \n [] \n\n ext_services_configs \n Object \n Ext services configs \n {} \n\n is_runnable \n\
        \ Boolean \n Whether the resource is runnable \n false \n\n implements_classification_configuration\
        \ \n String or null \n Implements classification configuration \n null \n\n open_issues_count\
        \ \n Integer \n Number of items \n 0 \n\n active_perspectives_count \n Integer \n Number of items\
        \ \n 0 \n\n interval_total_seconds \n Integer \n Interval total seconds \n 28800 \n\n basic_notifs_enabled\
        \ \n Boolean \n Whether basic notifs is enabled \n false \n\n enabled_notifs \n Array \n List\
        \ of enabled notifs \n [] \n\n has_rule_requiring_auth \n Boolean \n Whether the resource has\
        \ rule requiring auth \n false \n\n bounding_classifications \n Array \n List of bounding classifications\
        \ \n [] \n\n workflows \n Array \n List of workflows \n [] \n\n last_policy_assessment_failure_infos\
        \ \n Array \n List of last policy assessment failure infos \n [] \n\n last_policy_assessment_warnings\
        \ \n Array \n List of last policy assessment warnings \n [] \n\n target_tags \n Ar"
      parameters:
      - name: id
        in: path
        required: true
        description: Path parameter id
        schema:
          type: string
      responses:
        '200':
          description: Get Policy
          content:
            application/json:
              schema:
                type: object
              examples:
                GetPolicy:
                  summary: Get Policy
                  value:
                    id: 591391
                    created: '2024-02-20T18:48:37.189165Z'
                    modified: '2024-02-20T19:05:43.282655Z'
                    external_id: null
                    created_by: 1526
                    modified_by: null
                    owner: 1526
                    internal_id: 453a6236-79eb-4cf6-b38b-3cfcaf7b3277
                    baseline_policy_for_tenant: false
                    name: 'Auth0: Baseline Posture Settings'
                    description: null
                    active: true
                    policy_type: auth0
                    policy_type_slug: auth0
                    custom_service_type: null
                    installed_service_type: null
                    tags: []
                    is_reference: true
                    from_reference_policy: null
                    notify_pol_owner: false
                    notify_ms_recips: false
                    notify_user: null
                    service_groups: []
                    monitored_services: []
                    role: monitored_service_config
                    mode: blacklist
                    issue_handling: notify
                    scheduled: true
                    pol_interval: 08:00:00
                    last_run: null
                    last_scheduled: null
                    last_completed_scan: null
                    last_policy_assessment_status: null
                    last_policy_assessment_error_code: null
                    monitored_services_count: 0
                    risk_statistics: {}
                    external_data: null
                    default_action: null
                    asset_restrictions: []
                    pers_fresh_ttl: 1 00:00:00
                    notification_frequency: immediate
                    extra_notification_emails: []
                    notif_env_filter_tags: []
                    ext_services_enabled: []
                    ext_services_configs: {}
                    is_runnable: false
                    implements_classification_configuration: null
                    open_issues_count: 0
                    active_perspectives_count: 0
                    interval_total_seconds: 28800
                    basic_notifs_enabled: false
                    enabled_notifs: []
                    has_rule_requiring_auth: false
                    bounding_classifications: []
                    workflows: []
                    last_policy_assessment_failure_infos: []
                    last_policy_assessment_warnings: []
                    target_tags: []
                    is_obj_comprehensive: false
                    is_field_comprehensive: false
                    rule_type_counts:
                      config.org.sys_setting:
                        rules: 23
                        exceptions: 0
                        by_target_type: {}
                    not_runnable_reason: missing_monitored_service
                    pending_assessment_started_on: null
        '401':
          description: Unauthorized — missing or invalid AppOmni API token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden — the token lacks permission for this resource
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    patch:
      operationId: assignTargetTagsToPolicy
      summary: Assign Target Tags to Policy
      tags:
      - Policies
      description: "By assigning Target Tags to a Posture Policy you are able to design a policy that\
        \ will target all monitored services that are tagged with the tags specified as Target Tags at\
        \ scan time.\n\n Note that of the monitored services tagged with the policy's Target Tags, only\
        \ the monitored services that are the same service type as the policy will be collected for scanning.\n\
        \n Request Body\n\n Field \n Data Type \n Required \n Description \n Example \n\n tags \n Array[Integer]\
        \ \n Yes \n List of tag IDs to assign to the policy \n [120, 345, 678] \n\n Response Fields\n\n\
        \ Field \n Data Type \n Description \n Example \n\n id \n Integer \n Unique identifier for the\
        \ policy \n 591391 \n\n created \n String (ISO datetime) \n Timestamp when created \n \"2024-02-20T18:48:37.189165Z\"\
        \ \n\n modified \n String (ISO datetime) \n Timestamp when last modified \n \"2024-09-18T15:35:20.456Z\"\
        \ \n\n name \n String \n Policy name \n \"Baseline Posture Settings\" \n\n description \n String\
        \ or null \n Policy description \n \"Standard security posture policy\" \n\n active \n Boolean\
        \ \n Whether the policy is active \n true \n\n policy_type \n String \n Type of policy \n \"o365\"\
        \ \n\n tags \n Array[Integer] \n List of assigned tag IDs \n [120, 345, 678] \n\n monitored_services\
        \ \n Array[Integer] \n List of assigned monitored service IDs \n [] \n\n scheduled \n Boolean\
        \ \n Whether policy scans are scheduled \n true \n\n po

# --- truncated at 32 KB (148 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/appomni/refs/heads/main/openapi/appomni-policies-api-openapi.yml