Skip to content

List baseline project policies

GET
/api/v1/projects/{projectId}/policies/baseline
curl --request GET \
--url https://localhost:10001/api/v1/projects/1/policies/baseline \
--header 'Authorization: <Authorization>'

List all baseline policies applied to a specific project

projectId
required
integer

Project ID

Baseline project policies

Media type application/json
Array<object>
object
certificate
object
certificate
object
expiresAt
string
id
integer
issuedAt
string
issuedBy
string
projectPolicyId
integer
revoked
boolean
revokedAt
string
revokedBy
string
revokedReason
string
controls
Array<object>
object
citations
Array<object>
object
title
string
url
string
controlCode
string
controlId
integer
declarations
Array<object>
object
cid
string
createdAt
string
fileAttachments
Array<object>
object
contentType
string
declarationId
integer
description
string
fileName
string
id
integer
isPublic
boolean
retentionExpires
string
reviewId
integer
sizeBytes
integer
storagePath
string
uploadedAt
string
uploadedBy
string
id
integer
isAutomated
boolean
isReadyForReview
boolean
projectPolicyControlId
integer
statement
string
subjectLine
string
submittedAt
string
submittedBy
string
updatedAt
string
description
string
indicators
Array<object>
object
applicationUuid
string
createdAt

Audit

string
criteria
Array<integer>
declarationProfile

Declaration behavior

object
emitOn

“pass” | “fail” | “both” | “none”

string
Allowed values: pass fail both none
statementTemplate
string
titleTemplate
string
extractionRules

Custom indicator fields

Array<integer>
id
integer
indicatorId
string
lastEvaluatedAt
string
parameters
Array<integer>
projectPolicyControlId
integer
status

State

string
Allowed values: active disabled archived
triggerType
string
Allowed values: event
updatedAt
string
projectPolicyControlId
integer
reviews
Array<object>
object
cid
string
commentType
string
createdAt
string
fileAttachments
Array<object>
object
contentType
string
declarationId
integer
description
string
fileName
string
id
integer
isPublic
boolean
retentionExpires
string
reviewId
integer
sizeBytes
integer
storagePath
string
uploadedAt
string
uploadedBy
string
id
integer
outcome
string
projectPolicyControlId
integer
statement
string
subjectLine
string
submittedAt
string
submittedBy
string
updatedAt
string
status
string
title
string
projectPolicy
object
appliedAt
string
appliedBy
string
archivedAt
string
archivedBy
string
cid
string
createdAt
string
id
integer
isArchived
boolean
isReapplied
boolean
name
string
policyId
integer
projectId
integer
slug
string
status
string
subjectCid
string
updatedAt
string
Example
[
{
"controls": [
{
"indicators": [
{
"declarationProfile": {
"emitOn": "pass"
},
"status": "active",
"triggerType": "event"
}
]
}
]
}
]

Bad request - Invalid project ID

Media type application/json
object
key
additional properties
string
Example generated
{
"additionalProperty": "example"
}

Project not found

Media type application/json
object
key
additional properties
string
Example generated
{
"additionalProperty": "example"
}

Internal server error

Media type application/json
object
key
additional properties
string
Example generated
{
"additionalProperty": "example"
}