curl --request GET \
--url https://api.leen.dev/v1/grc/assessments/{assessment_id} \
--header 'X-API-KEY: <api-key>' \
--header 'X-CONNECTION-ID: <api-key>'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"template_id": "<string>",
"template_name": "<string>",
"vendor_attributes": {
"id": "<string>",
"vendor": "<string>",
"data": {}
},
"state": "NEW",
"respondent": "<string>",
"control_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"questions": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"question": "<string>",
"question_type": "<string>",
"vendor_attributes": {
"id": "<string>",
"vendor": "<string>",
"data": {}
},
"description": "<string>",
"question_type_metadata": {
"type": "RADIO",
"options": [
{
"label": "<string>",
"value": "<string>"
}
]
},
"mandatory": false,
"parent_vendor_id": "<string>",
"response": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"sub_questions": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"question": "<string>",
"question_type": "<string>",
"vendor_attributes": {
"id": "<string>",
"vendor": "<string>",
"data": {}
},
"description": "<string>",
"question_type_metadata": {
"type": "RADIO",
"options": [
{
"label": "<string>",
"value": "<string>"
}
]
},
"mandatory": false,
"parent_vendor_id": "<string>",
"response": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"sub_questions": "<unknown>",
"condition": {
"value": "<string>",
"operator": "EQ"
}
}
]
}
]
}Get a specific GRC assessment for a given connection.
curl --request GET \
--url https://api.leen.dev/v1/grc/assessments/{assessment_id} \
--header 'X-API-KEY: <api-key>' \
--header 'X-CONNECTION-ID: <api-key>'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"template_id": "<string>",
"template_name": "<string>",
"vendor_attributes": {
"id": "<string>",
"vendor": "<string>",
"data": {}
},
"state": "NEW",
"respondent": "<string>",
"control_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"questions": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"question": "<string>",
"question_type": "<string>",
"vendor_attributes": {
"id": "<string>",
"vendor": "<string>",
"data": {}
},
"description": "<string>",
"question_type_metadata": {
"type": "RADIO",
"options": [
{
"label": "<string>",
"value": "<string>"
}
]
},
"mandatory": false,
"parent_vendor_id": "<string>",
"response": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"sub_questions": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"question": "<string>",
"question_type": "<string>",
"vendor_attributes": {
"id": "<string>",
"vendor": "<string>",
"data": {}
},
"description": "<string>",
"question_type_metadata": {
"type": "RADIO",
"options": [
{
"label": "<string>",
"value": "<string>"
}
]
},
"mandatory": false,
"parent_vendor_id": "<string>",
"response": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"sub_questions": "<unknown>",
"condition": {
"value": "<string>",
"operator": "EQ"
}
}
]
}
]
}Successful Response
Response model for returning GRC assessment details via an API endpoint.
Leen's UUID for the GRC assessment
Identifier for the assessment template
Name of the assessment template
Current state of the assessment
NEW, IN_PROGRESS, COMPLETED, CANCELLED Name or identifier of the respondent for the assessment
Identifier of the associated GRC control
Timestamp when the assessment was created
Timestamp when the assessment was last updated
List of questions along with their responses
Show child attributes
Leen's UUID for the GRC assessment question
The text of the assessment question
Type of the question (e.g., Boolen etc...)
Detailed description or context for the question
Show child attributes
RADIO, MULTIPLE_SELECTION, DROPDOWN Indicates if the question is mandatory
Vendor-specific identifier for the parent question
The response provided for the assessment question
Timestamp when the assessment was created
Timestamp when the assessment was last updated
List of child questions if any
Show child attributes
Leen's UUID for the GRC assessment question
The text of the assessment question
Type of the question (e.g., Boolen etc...)
Detailed description or context for the question
Show child attributes
RADIO, MULTIPLE_SELECTION, DROPDOWN Indicates if the question is mandatory
Vendor-specific identifier for the parent question
The response provided for the assessment question
Timestamp when the assessment was created
Timestamp when the assessment was last updated
List of child questions if any