The GET_SECURITY_MARKS action retrieves the security marks assigned to a file or folder in Alfresco Content Services (ACS).
Use this action to determine how content has been classified for governance, compliance, and security purposes. Security marks are configured in Alfresco Governance Services and can be used to identify sensitive information, enforce security policies, and support records-management processes. To add security marks via the ACS connector, you must have configured security marks in Governance Services. For information on security marks in Governance Services, search Security Marks and Classification in Alfresco Content Services documentation.
During the operation, the connector identifies the target file or folder and locates the specified security group. ACS retrieves the security marks assigned to the content. The security marks are then returned to the workflow. The action does not modify the content or its classifications. The workflow can use the results for validation, reporting, governance, or decision-making.
The input parameters of the action are:
| Parameter | Type | Required | Description |
|---|---|---|---|
| file | Array<json>, JSON | Optional | ACS file from which security marks will be retrieved. If multiple files are provided, only the first file is processed. |
| folder | Array<json>, JSON | Optional | ACS folder from which security marks will be retrieved. Folder variables are typically initialized by content actions or content-event triggers. |
| nodeId | String | Optional | Node ID of the file or folder. For example: a6a977a6-c728-4038-8dbc-d914c4d8cfb3. |
| path | String | Optional | Repository location or relative path of the target file or folder. For example, a location path could be /app:company_home/app:user_homes/cm:hruser and a relative path could be /User Homes/hruser (by default the relative path is from Company Home). |
| securityGroupName | String | Optional | Security group containing the security marks to retrieve. For example: PII. |
The output parameters of the action are:
| Parameter | Type | Required | Description |
|---|---|---|---|
| response | Array<json> | Optional | Response returned by ACS for the request. |
| securityMarks | Array<json> | Optional | Security marks assigned to the specified node for the requested security group. |