Sumo Logic · Capability

Sumo Logic API — passwordPolicy

Sumo Logic API — passwordPolicy. 2 operations. Lead operation: Get The Current Password Policy.. Self-contained Naftiko capability covering one Sumo Logic business surface.

Run with Naftiko Sumo LogicpasswordPolicy

What You Can Do

GET
Getpasswordpolicy — Get The Current Password Policy.
/v1/v1/passwordpolicy
PUT
Setpasswordpolicy — Update Password Policy.
/v1/v1/passwordpolicy

MCP Tools

get-current-password-policy

Get The Current Password Policy.

read-only idempotent
update-password-policy

Update Password Policy.

idempotent

Capability Spec

sumo-logic-passwordpolicy.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Sumo Logic API — passwordPolicy
  description: 'Sumo Logic API — passwordPolicy. 2 operations. Lead operation: Get The Current Password Policy.. Self-contained
    Naftiko capability covering one Sumo Logic business surface.'
  tags:
  - Sumo Logic
  - passwordPolicy
  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-passwordpolicy
    baseUri: https://api.au.sumologic.com/api
    description: Sumo Logic API — passwordPolicy business capability. Self-contained, no shared references.
    resources:
    - name: v1-passwordPolicy
      path: /v1/passwordPolicy
      operations:
      - name: getpasswordpolicy
        method: GET
        description: Get The Current Password Policy.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: setpasswordpolicy
        method: PUT
        description: Update Password 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-passwordpolicy-rest
    port: 8080
    description: REST adapter for Sumo Logic API — passwordPolicy. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v1/passwordpolicy
      name: v1-passwordpolicy
      description: REST surface for v1-passwordPolicy.
      operations:
      - method: GET
        name: getpasswordpolicy
        description: Get The Current Password Policy.
        call: sumo-logic-passwordpolicy.getpasswordpolicy
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: setpasswordpolicy
        description: Update Password Policy.
        call: sumo-logic-passwordpolicy.setpasswordpolicy
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: sumo-logic-passwordpolicy-mcp
    port: 9090
    transport: http
    description: MCP adapter for Sumo Logic API — passwordPolicy. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: get-current-password-policy
      description: Get The Current Password Policy.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sumo-logic-passwordpolicy.getpasswordpolicy
      outputParameters:
      - type: object
        mapping: $.
    - name: update-password-policy
      description: Update Password Policy.
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: sumo-logic-passwordpolicy.setpasswordpolicy
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.