Sumo Logic · Capability

Sumo Logic API — policiesManagement

Sumo Logic API — policiesManagement. 16 operations. Lead operation: Get Access Key Lifetime Policy.. Self-contained Naftiko capability covering one Sumo Logic business surface.

Run with Naftiko Sumo LogicpoliciesManagement

What You Can Do

GET
Getaccesskeyslifetimepolicy — Get Access Key Lifetime Policy.
/v1/v1/policies/accesskeyslifetime
PUT
Setaccesskeyslifetimepolicy — Set Access Keys Lifetime Policy.
/v1/v1/policies/accesskeyslifetime
GET
Getauditpolicy — Get Audit Policy.
/v1/v1/policies/audit
PUT
Setauditpolicy — Set Audit Policy.
/v1/v1/policies/audit
GET
Getdataaccesslevelpolicy — Get Data Access Level Policy.
/v1/v1/policies/dataaccesslevel
PUT
Setdataaccesslevelpolicy — Set Data Access Level Policy.
/v1/v1/policies/dataaccesslevel
GET
Getdatadeletionpolicy — Get Data Deletion Policy.
/v1/v1/policies/datadeletion
PUT
Setdatadeletionpolicy — Set Data Deletion Policy.
/v1/v1/policies/datadeletion
GET
Getmaxusersessiontimeoutpolicy — Get Max User Session Timeout Policy.
/v1/v1/policies/maxusersessiontimeout
PUT
Setmaxusersessiontimeoutpolicy — Set Max User Session Timeout Policy.
/v1/v1/policies/maxusersessiontimeout
GET
Getsearchauditpolicy — Get Search Audit Policy.
/v1/v1/policies/searchaudit
PUT
Setsearchauditpolicy — Set Search Audit Policy.
/v1/v1/policies/searchaudit
GET
Getsharedashboardsoutsideorganizationpolicy — Get Share Dashboards Outside Organization Policy.
/v1/v1/policies/sharedashboardsoutsideorganization
PUT
Setsharedashboardsoutsideorganizationpolicy — Set Share Dashboards Outside Organization Policy.
/v1/v1/policies/sharedashboardsoutsideorganization
GET
Getuserconcurrentsessionslimitpolicy — Get User Concurrent Sessions Limit Policy.
/v1/v1/policies/userconcurrentsessionslimit
PUT
Setuserconcurrentsessionslimitpolicy — Set User Concurrent Sessions Limit Policy.
/v1/v1/policies/userconcurrentsessionslimit

MCP Tools

get-access-key-lifetime-policy

Get Access Key Lifetime Policy.

read-only idempotent
set-access-keys-lifetime-policy

Set Access Keys Lifetime Policy.

idempotent
get-audit-policy

Get Audit Policy.

read-only idempotent
set-audit-policy

Set Audit Policy.

idempotent
get-data-access-level-policy

Get Data Access Level Policy.

read-only idempotent
set-data-access-level-policy

Set Data Access Level Policy.

idempotent
get-data-deletion-policy

Get Data Deletion Policy.

read-only idempotent
set-data-deletion-policy

Set Data Deletion Policy.

idempotent
get-max-user-session-timeout

Get Max User Session Timeout Policy.

read-only idempotent
set-max-user-session-timeout

Set Max User Session Timeout Policy.

idempotent
get-search-audit-policy

Get Search Audit Policy.

read-only idempotent
set-search-audit-policy

Set Search Audit Policy.

idempotent
get-share-dashboards-outside-organization

Get Share Dashboards Outside Organization Policy.

read-only idempotent
set-share-dashboards-outside-organization

Set Share Dashboards Outside Organization Policy.

idempotent
get-user-concurrent-sessions-limit

Get User Concurrent Sessions Limit Policy.

read-only idempotent
set-user-concurrent-sessions-limit

Set User Concurrent Sessions Limit Policy.

idempotent

Capability Spec

sumo-logic-policiesmanagement.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Sumo Logic API — policiesManagement
  description: 'Sumo Logic API — policiesManagement. 16 operations. Lead operation: Get Access Key Lifetime Policy.. Self-contained
    Naftiko capability covering one Sumo Logic business surface.'
  tags:
  - Sumo Logic
  - policiesManagement
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SUMO_LOGIC_API_KEY: SUMO_LOGIC_API_KEY
capability:
  consumes:
  - type: http
    namespace: sumo-logic-policiesmanagement
    baseUri: https://api.au.sumologic.com/api
    description: Sumo Logic API — policiesManagement business capability. Self-contained, no shared references.
    resources:
    - name: v1-policies-accessKeysLifetime
      path: /v1/policies/accessKeysLifetime
      operations:
      - name: getaccesskeyslifetimepolicy
        method: GET
        description: Get Access Key Lifetime Policy.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: setaccesskeyslifetimepolicy
        method: PUT
        description: Set Access Keys Lifetime Policy.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-policies-audit
      path: /v1/policies/audit
      operations:
      - name: getauditpolicy
        method: GET
        description: Get Audit Policy.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: setauditpolicy
        method: PUT
        description: Set Audit Policy.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-policies-dataAccessLevel
      path: /v1/policies/dataAccessLevel
      operations:
      - name: getdataaccesslevelpolicy
        method: GET
        description: Get Data Access Level Policy.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: setdataaccesslevelpolicy
        method: PUT
        description: Set Data Access Level Policy.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-policies-dataDeletion
      path: /v1/policies/dataDeletion
      operations:
      - name: getdatadeletionpolicy
        method: GET
        description: Get Data Deletion Policy.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: setdatadeletionpolicy
        method: PUT
        description: Set Data Deletion Policy.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-policies-maxUserSessionTimeout
      path: /v1/policies/maxUserSessionTimeout
      operations:
      - name: getmaxusersessiontimeoutpolicy
        method: GET
        description: Get Max User Session Timeout Policy.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: setmaxusersessiontimeoutpolicy
        method: PUT
        description: Set Max User Session Timeout Policy.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-policies-searchAudit
      path: /v1/policies/searchAudit
      operations:
      - name: getsearchauditpolicy
        method: GET
        description: Get Search Audit Policy.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: setsearchauditpolicy
        method: PUT
        description: Set Search Audit Policy.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-policies-shareDashboardsOutsideOrganization
      path: /v1/policies/shareDashboardsOutsideOrganization
      operations:
      - name: getsharedashboardsoutsideorganizationpolicy
        method: GET
        description: Get Share Dashboards Outside Organization Policy.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: setsharedashboardsoutsideorganizationpolicy
        method: PUT
        description: Set Share Dashboards Outside Organization Policy.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-policies-userConcurrentSessionsLimit
      path: /v1/policies/userConcurrentSessionsLimit
      operations:
      - name: getuserconcurrentsessionslimitpolicy
        method: GET
        description: Get User Concurrent Sessions Limit Policy.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: setuserconcurrentsessionslimitpolicy
        method: PUT
        description: Set User Concurrent Sessions Limit Policy.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: basic
      username: '{{env.SUMO_LOGIC_USER}}'
      password: '{{env.SUMO_LOGIC_PASS}}'
  exposes:
  - type: rest
    namespace: sumo-logic-policiesmanagement-rest
    port: 8080
    description: REST adapter for Sumo Logic API — policiesManagement. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v1/policies/accesskeyslifetime
      name: v1-policies-accesskeyslifetime
      description: REST surface for v1-policies-accessKeysLifetime.
      operations:
      - method: GET
        name: getaccesskeyslifetimepolicy
        description: Get Access Key Lifetime Policy.
        call: sumo-logic-policiesmanagement.getaccesskeyslifetimepolicy
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: setaccesskeyslifetimepolicy
        description: Set Access Keys Lifetime Policy.
        call: sumo-logic-policiesmanagement.setaccesskeyslifetimepolicy
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/policies/audit
      name: v1-policies-audit
      description: REST surface for v1-policies-audit.
      operations:
      - method: GET
        name: getauditpolicy
        description: Get Audit Policy.
        call: sumo-logic-policiesmanagement.getauditpolicy
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: setauditpolicy
        description: Set Audit Policy.
        call: sumo-logic-policiesmanagement.setauditpolicy
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/policies/dataaccesslevel
      name: v1-policies-dataaccesslevel
      description: REST surface for v1-policies-dataAccessLevel.
      operations:
      - method: GET
        name: getdataaccesslevelpolicy
        description: Get Data Access Level Policy.
        call: sumo-logic-policiesmanagement.getdataaccesslevelpolicy
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: setdataaccesslevelpolicy
        description: Set Data Access Level Policy.
        call: sumo-logic-policiesmanagement.setdataaccesslevelpolicy
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/policies/datadeletion
      name: v1-policies-datadeletion
      description: REST surface for v1-policies-dataDeletion.
      operations:
      - method: GET
        name: getdatadeletionpolicy
        description: Get Data Deletion Policy.
        call: sumo-logic-policiesmanagement.getdatadeletionpolicy
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: setdatadeletionpolicy
        description: Set Data Deletion Policy.
        call: sumo-logic-policiesmanagement.setdatadeletionpolicy
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/policies/maxusersessiontimeout
      name: v1-policies-maxusersessiontimeout
      description: REST surface for v1-policies-maxUserSessionTimeout.
      operations:
      - method: GET
        name: getmaxusersessiontimeoutpolicy
        description: Get Max User Session Timeout Policy.
        call: sumo-logic-policiesmanagement.getmaxusersessiontimeoutpolicy
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: setmaxusersessiontimeoutpolicy
        description: Set Max User Session Timeout Policy.
        call: sumo-logic-policiesmanagement.setmaxusersessiontimeoutpolicy
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/policies/searchaudit
      name: v1-policies-searchaudit
      description: REST surface for v1-policies-searchAudit.
      operations:
      - method: GET
        name: getsearchauditpolicy
        description: Get Search Audit Policy.
        call: sumo-logic-policiesmanagement.getsearchauditpolicy
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: setsearchauditpolicy
        description: Set Search Audit Policy.
        call: sumo-logic-policiesmanagement.setsearchauditpolicy
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/policies/sharedashboardsoutsideorganization
      name: v1-policies-sharedashboardsoutsideorganization
      description: REST surface for v1-policies-shareDashboardsOutsideOrganization.
      operations:
      - method: GET
        name: getsharedashboardsoutsideorganizationpolicy
        description: Get Share Dashboards Outside Organization Policy.
        call: sumo-logic-policiesmanagement.getsharedashboardsoutsideorganizationpolicy
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: setsharedashboardsoutsideorganizationpolicy
        description: Set Share Dashboards Outside Organization Policy.
        call: sumo-logic-policiesmanagement.setsharedashboardsoutsideorganizationpolicy
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/policies/userconcurrentsessionslimit
      name: v1-policies-userconcurrentsessionslimit
      description: REST surface for v1-policies-userConcurrentSessionsLimit.
      operations:
      - method: GET
        name: getuserconcurrentsessionslimitpolicy
        description: Get User Concurrent Sessions Limit Policy.
        call: sumo-logic-policiesmanagement.getuserconcurrentsessionslimitpolicy
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: setuserconcurrentsessionslimitpolicy
        description: Set User Concurrent Sessions Limit Policy.
        call: sumo-logic-policiesmanagement.setuserconcurrentsessionslimitpolicy
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: sumo-logic-policiesmanagement-mcp
    port: 9090
    transport: http
    description: MCP adapter for Sumo Logic API — policiesManagement. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get-access-key-lifetime-policy
      description: Get Access Key Lifetime Policy.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sumo-logic-policiesmanagement.getaccesskeyslifetimepolicy
      outputParameters:
      - type: object
        mapping: $.
    - name: set-access-keys-lifetime-policy
      description: Set Access Keys Lifetime Policy.
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: sumo-logic-policiesmanagement.setaccesskeyslifetimepolicy
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-audit-policy
      description: Get Audit Policy.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sumo-logic-policiesmanagement.getauditpolicy
      outputParameters:
      - type: object
        mapping: $.
    - name: set-audit-policy
      description: Set Audit Policy.
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: sumo-logic-policiesmanagement.setauditpolicy
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-data-access-level-policy
      description: Get Data Access Level Policy.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sumo-logic-policiesmanagement.getdataaccesslevelpolicy
      outputParameters:
      - type: object
        mapping: $.
    - name: set-data-access-level-policy
      description: Set Data Access Level Policy.
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: sumo-logic-policiesmanagement.setdataaccesslevelpolicy
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-data-deletion-policy
      description: Get Data Deletion Policy.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sumo-logic-policiesmanagement.getdatadeletionpolicy
      outputParameters:
      - type: object
        mapping: $.
    - name: set-data-deletion-policy
      description: Set Data Deletion Policy.
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: sumo-logic-policiesmanagement.setdatadeletionpolicy
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-max-user-session-timeout
      description: Get Max User Session Timeout Policy.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sumo-logic-policiesmanagement.getmaxusersessiontimeoutpolicy
      outputParameters:
      - type: object
        mapping: $.
    - name: set-max-user-session-timeout
      description: Set Max User Session Timeout Policy.
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: sumo-logic-policiesmanagement.setmaxusersessiontimeoutpolicy
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-search-audit-policy
      description: Get Search Audit Policy.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sumo-logic-policiesmanagement.getsearchauditpolicy
      outputParameters:
      - type: object
        mapping: $.
    - name: set-search-audit-policy
      description: Set Search Audit Policy.
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: sumo-logic-policiesmanagement.setsearchauditpolicy
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-share-dashboards-outside-organization
      description: Get Share Dashboards Outside Organization Policy.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sumo-logic-policiesmanagement.getsharedashboardsoutsideorganizationpolicy
      outputParameters:
      - type: object
        mapping: $.
    - name: set-share-dashboards-outside-organization
      description: Set Share Dashboards Outside Organization Policy.
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: sumo-logic-policiesmanagement.setsharedashboardsoutsideorganizationpolicy
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-user-concurrent-sessions-limit
      description: Get User Concurrent Sessions Limit Policy.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sumo-logic-policiesmanagement.getuserconcurrentsessionslimitpolicy
      outputParameters:
      - type: object
        mapping: $.
    - name: set-user-concurrent-sessions-limit
      description: Set User Concurrent Sessions Limit Policy.
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: sumo-logic-policiesmanagement.setuserconcurrentsessionslimitpolicy
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.