Cybereason IsolationRules API

The IsolationRules API from Cybereason — 2 operation(s) for isolationrules.

OpenAPI Specification

cybereason-isolationrules-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Cybereason Authentication IsolationRules API
  version: 23.x
  description: 'Cybereason EDR/XDR REST API. Exposes Malop investigation, hunting

    via Visual Search, sensor management, isolation rules, custom

    detection rules, reputation lists, threat-intel lookups, malware

    queries, and remediation actions against a Cybereason tenant.


    Best-effort spec derived from publicly indexed Cybereason API

    documentation references (api-doc.cybereason.com URI/endpoints

    pages, docs.cybereason.com 23.2 docs, Cortex XSOAR / Demisto

    Cybereason integration, and the open-source CybereasonAPI

    PowerShell module). Cybereason''s primary API documentation is

    customer/partner-gated; the operational surface modelled here

    matches the publicly described endpoints.


    Authentication is performed via a POST to /login.html which

    returns a JSESSIONID cookie used on subsequent calls. JWT

    authentication is also supported on version 20.1+ deployments.

    '
  contact:
    name: Cybereason Nest
    url: https://nest.cybereason.com/documentation/api-documentation
  license:
    name: Proprietary
servers:
- url: https://{tenant}.cybereason.net
  description: Cybereason tenant
  variables:
    tenant:
      default: example
      description: Your Cybereason tenant hostname prefix.
security:
- SessionCookie: []
tags:
- name: IsolationRules
paths:
  /rest/settings/isolation-rule:
    get:
      tags:
      - IsolationRules
      summary: List isolation rules
      responses:
        '200':
          description: Isolation rules
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/IsolationRule'
    post:
      tags:
      - IsolationRules
      summary: Create isolation rule
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IsolationRule'
      responses:
        '200':
          description: Rule created
    put:
      tags:
      - IsolationRules
      summary: Update isolation rule
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IsolationRule'
      responses:
        '200':
          description: Rule updated
  /rest/settings/isolation-rule/delete:
    post:
      tags:
      - IsolationRules
      summary: Delete isolation rule
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IsolationRule'
      responses:
        '200':
          description: Rule deleted
components:
  schemas:
    IsolationRule:
      type: object
      properties:
        ruleId:
          type: string
        ipAddress:
          type: string
        ipAddressString:
          type: string
        port:
          type: integer
        portRangeStart:
          type: integer
        portRangeEnd:
          type: integer
        direction:
          type: string
          enum:
          - INCOMING
          - OUTGOING
          - ALL
        blocking:
          type: boolean
  securitySchemes:
    SessionCookie:
      type: apiKey
      in: cookie
      name: JSESSIONID
      description: Session cookie returned by POST /login.html.
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Available on Cybereason 20.1+ for token-based access.
externalDocs:
  description: Cybereason API documentation
  url: https://nest.cybereason.com/documentation/api-documentation