For the complete documentation index, see llms.txt. This page is also available as Markdown.

Policy Packs

Built-in compliance policy packs

List compliance policy packs

get

Lists the built-in compliance policy packs and their policies

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
accountIdentifierstringOptional

Harness account ID

Default: ""Example: eBqAoNchMLKigC_qZ5EdC
orgIdentifierstringOptional

Harness organization ID

Default: ""Example: test-org
projectIdentifierstringOptional

Harness project ID

Default: ""Example: test-project
Header parameters
x-api-keystringOptional

Harness PAT key used to perform authorization

Example: Et ut.
Responses
200

OK response.

application/json

A built-in collection of policies mapped to a compliance framework

descriptionstringRequired

Framework description

Example: Trust service criteria for security, availability, and processing integrity
identifierstringRequired

Stable framework identifier

Example: soc2
industrystringRequired

Industries commonly using the framework

Example: SaaS and cloud services
namestringRequired

Framework display name

Example: SOC 2
get/api/v1/policy-packs
GET /gateway/pm/api/v1/policy-packs HTTP/1.1
Host: app.harness.io/
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
  {
    "description": "Trust service criteria for security, availability, and processing integrity",
    "identifier": "soc2",
    "industry": "SaaS and cloud services",
    "name": "SOC 2",
    "policies": [
      {
        "control": "CC6.3",
        "description": "Enforces separation of duties by preventing self-approval",
        "entityType": "pipeline",
        "identifier": "soc2_cc6_3_no_self_approval",
        "name": "No Self Approval",
        "rego": "package soc2.cc6_3_no_self_approval",
        "tags": [
          "Et dolores cum.",
          "Sed perspiciatis debitis."
        ]
      },
      {
        "control": "CC6.3",
        "description": "Enforces separation of duties by preventing self-approval",
        "entityType": "pipeline",
        "identifier": "soc2_cc6_3_no_self_approval",
        "name": "No Self Approval",
        "rego": "package soc2.cc6_3_no_self_approval",
        "tags": [
          "Et dolores cum.",
          "Sed perspiciatis debitis."
        ]
      },
      {
        "control": "CC6.3",
        "description": "Enforces separation of duties by preventing self-approval",
        "entityType": "pipeline",
        "identifier": "soc2_cc6_3_no_self_approval",
        "name": "No Self Approval",
        "rego": "package soc2.cc6_3_no_self_approval",
        "tags": [
          "Et dolores cum.",
          "Sed perspiciatis debitis."
        ]
      },
      {
        "control": "CC6.3",
        "description": "Enforces separation of duties by preventing self-approval",
        "entityType": "pipeline",
        "identifier": "soc2_cc6_3_no_self_approval",
        "name": "No Self Approval",
        "rego": "package soc2.cc6_3_no_self_approval",
        "tags": [
          "Et dolores cum.",
          "Sed perspiciatis debitis."
        ]
      }
    ]
  },
  {
    "description": "Trust service criteria for security, availability, and processing integrity",
    "identifier": "soc2",
    "industry": "SaaS and cloud services",
    "name": "SOC 2",
    "policies": [
      {
        "control": "CC6.3",
        "description": "Enforces separation of duties by preventing self-approval",
        "entityType": "pipeline",
        "identifier": "soc2_cc6_3_no_self_approval",
        "name": "No Self Approval",
        "rego": "package soc2.cc6_3_no_self_approval",
        "tags": [
          "Et dolores cum.",
          "Sed perspiciatis debitis."
        ]
      },
      {
        "control": "CC6.3",
        "description": "Enforces separation of duties by preventing self-approval",
        "entityType": "pipeline",
        "identifier": "soc2_cc6_3_no_self_approval",
        "name": "No Self Approval",
        "rego": "package soc2.cc6_3_no_self_approval",
        "tags": [
          "Et dolores cum.",
          "Sed perspiciatis debitis."
        ]
      },
      {
        "control": "CC6.3",
        "description": "Enforces separation of duties by preventing self-approval",
        "entityType": "pipeline",
        "identifier": "soc2_cc6_3_no_self_approval",
        "name": "No Self Approval",
        "rego": "package soc2.cc6_3_no_self_approval",
        "tags": [
          "Et dolores cum.",
          "Sed perspiciatis debitis."
        ]
      },
      {
        "control": "CC6.3",
        "description": "Enforces separation of duties by preventing self-approval",
        "entityType": "pipeline",
        "identifier": "soc2_cc6_3_no_self_approval",
        "name": "No Self Approval",
        "rego": "package soc2.cc6_3_no_self_approval",
        "tags": [
          "Et dolores cum.",
          "Sed perspiciatis debitis."
        ]
      }
    ]
  },
  {
    "description": "Trust service criteria for security, availability, and processing integrity",
    "identifier": "soc2",
    "industry": "SaaS and cloud services",
    "name": "SOC 2",
    "policies": [
      {
        "control": "CC6.3",
        "description": "Enforces separation of duties by preventing self-approval",
        "entityType": "pipeline",
        "identifier": "soc2_cc6_3_no_self_approval",
        "name": "No Self Approval",
        "rego": "package soc2.cc6_3_no_self_approval",
        "tags": [
          "Et dolores cum.",
          "Sed perspiciatis debitis."
        ]
      },
      {
        "control": "CC6.3",
        "description": "Enforces separation of duties by preventing self-approval",
        "entityType": "pipeline",
        "identifier": "soc2_cc6_3_no_self_approval",
        "name": "No Self Approval",
        "rego": "package soc2.cc6_3_no_self_approval",
        "tags": [
          "Et dolores cum.",
          "Sed perspiciatis debitis."
        ]
      },
      {
        "control": "CC6.3",
        "description": "Enforces separation of duties by preventing self-approval",
        "entityType": "pipeline",
        "identifier": "soc2_cc6_3_no_self_approval",
        "name": "No Self Approval",
        "rego": "package soc2.cc6_3_no_self_approval",
        "tags": [
          "Et dolores cum.",
          "Sed perspiciatis debitis."
        ]
      },
      {
        "control": "CC6.3",
        "description": "Enforces separation of duties by preventing self-approval",
        "entityType": "pipeline",
        "identifier": "soc2_cc6_3_no_self_approval",
        "name": "No Self Approval",
        "rego": "package soc2.cc6_3_no_self_approval",
        "tags": [
          "Et dolores cum.",
          "Sed perspiciatis debitis."
        ]
      }
    ]
  },
  {
    "description": "Trust service criteria for security, availability, and processing integrity",
    "identifier": "soc2",
    "industry": "SaaS and cloud services",
    "name": "SOC 2",
    "policies": [
      {
        "control": "CC6.3",
        "description": "Enforces separation of duties by preventing self-approval",
        "entityType": "pipeline",
        "identifier": "soc2_cc6_3_no_self_approval",
        "name": "No Self Approval",
        "rego": "package soc2.cc6_3_no_self_approval",
        "tags": [
          "Et dolores cum.",
          "Sed perspiciatis debitis."
        ]
      },
      {
        "control": "CC6.3",
        "description": "Enforces separation of duties by preventing self-approval",
        "entityType": "pipeline",
        "identifier": "soc2_cc6_3_no_self_approval",
        "name": "No Self Approval",
        "rego": "package soc2.cc6_3_no_self_approval",
        "tags": [
          "Et dolores cum.",
          "Sed perspiciatis debitis."
        ]
      },
      {
        "control": "CC6.3",
        "description": "Enforces separation of duties by preventing self-approval",
        "entityType": "pipeline",
        "identifier": "soc2_cc6_3_no_self_approval",
        "name": "No Self Approval",
        "rego": "package soc2.cc6_3_no_self_approval",
        "tags": [
          "Et dolores cum.",
          "Sed perspiciatis debitis."
        ]
      },
      {
        "control": "CC6.3",
        "description": "Enforces separation of duties by preventing self-approval",
        "entityType": "pipeline",
        "identifier": "soc2_cc6_3_no_self_approval",
        "name": "No Self Approval",
        "rego": "package soc2.cc6_3_no_self_approval",
        "tags": [
          "Et dolores cum.",
          "Sed perspiciatis debitis."
        ]
      }
    ]
  }
]

Last updated

Was this helpful?