Policy Packs
Built-in compliance policy packs
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
accountIdentifierstringOptionalDefault:
Harness account ID
""Example: eBqAoNchMLKigC_qZ5EdCorgIdentifierstringOptionalDefault:
Harness organization ID
""Example: test-orgprojectIdentifierstringOptionalDefault:
Harness project ID
""Example: test-projectHeader parameters
x-api-keystringOptionalExample:
Harness PAT key used to perform authorization
Et ut.Responses
200
OK response.
application/json
A built-in collection of policies mapped to a compliance framework
descriptionstringRequiredExample:
Framework description
Trust service criteria for security, availability, and processing integrityidentifierstringRequiredExample:
Stable framework identifier
soc2industrystringRequiredExample:
Industries commonly using the framework
SaaS and cloud servicesnamestringRequiredExample:
Framework display name
SOC 2400
BadRequest: Bad Request response.
application/vnd.goa.error
401
Unauthorized: Unauthorized response.
application/vnd.goa.error
403
Forbidden: Forbidden response.
application/vnd.goa.error
404
NotFound: Not Found response.
application/vnd.goa.error
500
InternalServer: Internal Server Error response.
application/vnd.goa.error
502
BadGateway: Bad Gateway response.
application/vnd.goa.error
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?