CloudGuard Shift Left Policy API

The Shift Left Policy API from CloudGuard — 2 operation(s) for shift left policy.

Operations 5

GET /v2/ShiftLeftPolicy/{id} Get #
GET /v2/ShiftLeftPolicy Get All #
POST /v2/ShiftLeftPolicy Post #
PUT /v2/ShiftLeftPolicy Put #
DELETE /v2/ShiftLeftPolicy Delete #

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/cloudguard-shift-left-policy-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

cloudguard-shift-left-policy-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Workload Protection Shift Left Policy API
  version: v2
servers:
- url: https://api.dome9.com/
  description: US region
- url: https://api.{region}.dome9.com/
  description: Other regions
  variables:
    region:
      enum:
      - eu1
      - ap1
      - ap2
      - ap3
      - cace1
      default: eu1
security:
- basic: []
tags:
- name: Shift Left Policy
paths:
  /v2/ShiftLeftPolicy/{id}:
    get:
      tags:
      - Shift Left Policy
      summary: Get
      operationId: ShiftLeftPolicy_Get_get_/v2/ShiftLeftPolicy/{id}
      parameters:
      - name: id
        in: path
        required: true
        description: Policy's ID
        schema:
          type: string
          format: guid
        x-position: 1
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ShiftLeftPolicyViewModel'
      deprecated: true
      description: 'Get single policy by its ID.

        Returns a policy matching a given ID. (move to use /v2/vulnerability/policy)'
  /v2/ShiftLeftPolicy:
    get:
      tags:
      - Shift Left Policy
      summary: Get All
      operationId: ShiftLeftPolicy_GetAll_get_/v2/ShiftLeftPolicy
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ShiftLeftPolicyViewModel'
      deprecated: true
      description: 'Get all policies for the requesting account.

        Returns a collection of policies. (move to use /v2/vulnerability/policy)'
    post:
      tags:
      - Shift Left Policy
      summary: Post
      operationId: ShiftLeftPolicy_Post_post_/v2/ShiftLeftPolicy
      requestBody:
        x-name: shiftLeftPolicyRequestModels
        description: Policies to create
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/ShiftLeftPolicyRequestModel'
        required: true
        x-position: 1
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ShiftLeftPolicyViewModel'
      deprecated: true
      description: 'Create new policies.

        Returns a multi status response containing successfully created policies without an error message and failed policies with an error message. (move to use /v2/vulnerability/policy)'
    put:
      tags:
      - Shift Left Policy
      summary: Put
      operationId: ShiftLeftPolicy_Put_put_/v2/ShiftLeftPolicy
      requestBody:
        x-name: shiftLeftPolicyRequestModels
        description: Policies to update
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/ShiftLeftPolicyRequestModel'
        required: true
        x-position: 1
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ShiftLeftPolicyViewModel'
      deprecated: true
      description: 'Update policies.

        Returns a multi status response containing successfully updated policies without an error message and failed policies with an error message. (move to use /v2/vulnerability/policy)'
    delete:
      tags:
      - Shift Left Policy
      summary: Delete
      operationId: ShiftLeftPolicy_Delete_delete_/v2/ShiftLeftPolicy
      parameters:
      - name: id
        in: query
        description: Policy's ID
        schema:
          type: string
          format: guid
        x-position: 1
      responses:
        '200':
          description: ''
      deprecated: true
      description: Delete policy by its ID. (move to use /v2/vulnerability/policy)
components:
  schemas:
    ShiftLeftPolicyRequestModel:
      type: object
      additionalProperties: false
      required:
      - targetId
      - targetType
      - notificationIds
      - rulesetId
      - id
      - externalAccountId
      - admissionControllerAction
      - admissionControlUnScannedAction
      properties:
        id:
          type: string
          format: guid
        targetId:
          type: string
          format: guid
          minLength: 1
        targetType:
          $ref: '#/components/schemas/ContinuousCompliancePolicyTargetType'
        notificationIds:
          type: array
          items:
            type: string
            format: guid
        rulesetId:
          type: integer
          format: int64
        externalAccountId:
          type:
          - string
          - 'null'
        admissionControllerAction:
          type:
          - string
          - 'null'
          description: '[Preview feature - Image Admission] Image Admission action to block non-compliant images according to the relevant ruleset.

            Options: ''Prevention'', ''Detection'', or null.'
        admissionControlUnScannedAction:
          type:
          - string
          - 'null'
          description: '[Preview feature - Image Admission] Image Admission unScanned action of Detection or Prevention to alert on or block images that have not been scanned.

            Options: ''Prevention'', ''Detection'', or null.'
    ContinuousCompliancePolicyTargetType:
      type: string
      description: ''
      x-enumNames:
      - Aws
      - Azure
      - Gcp
      - Kubernetes
      - OrganizationalUnit
      - Terraform
      - Generic
      - KubernetesRuntimeAssurance
      - ShiftLeft
      - Alibaba
      - Cft
      - ContainerRegistry
      - Vendor
      - Oci
      - CIEM
      enum:
      - Aws
      - Azure
      - Gcp
      - Kubernetes
      - OrganizationalUnit
      - Terraform
      - Generic
      - KubernetesRuntimeAssurance
      - ShiftLeft
      - Alibaba
      - Cft
      - ContainerRegistry
      - Vendor
      - Oci
      - CIEM
    ShiftLeftPolicyViewModel:
      type: object
      additionalProperties: false
      required:
      - id
      - targetType
      - targetId
      - accountExternalId
      - rulesetId
      - notificationIds
      - errorMessage
      - admissionControllerAction
      - admissionControlUnScannedAction
      properties:
        id:
          type: string
          format: guid
        targetType:
          $ref: '#/components/schemas/ContinuousCompliancePolicyTargetType'
        targetId:
          type: string
          format: guid
        accountExternalId:
          type: string
        rulesetId:
          type: integer
          format: int64
        notificationIds:
          type: array
          items:
            type: string
            format: guid
        errorMessage:
          type:
          - string
          - 'null'
        admissionControllerAction:
          type:
          - string
          - 'null'
          description: '[Preview feature - Image Admission] Image Admission action to block non-compliant images according to the relevant ruleset.

            Options: ''Prevention'', ''Detection'', or null.'
        admissionControlUnScannedAction:
          type:
          - string
          - 'null'
          description: '[Preview feature - Image Admission] Image Admission unScanned action of Detection or Prevention to alert on or block images that have not been scanned.

            Options: ''Prevention'', ''Detection'', or null.'
  securitySchemes:
    basic:
      type: http
      scheme: basic
x-readme:
  explorer-enabled: true
  proxy-enabled: true