The ADD_SECURITY_MARKS action adds security marks to files or folders stored in Alfresco Content Services (ACS).
Use this action to apply information governance and security classifications to content. Security marks can help identify sensitive information, support compliance requirements, and enforce content access policies across the repository. Before using this action, security marks must be configured in Alfresco Governance Services. For information on security marks in Governance Services, search Security Marks and Classification in ACS documentation.
During the operation, the connector identifies the target file or folder, in which the specified security group is located. The requested security marks are validated and applied to the content. The content is then classified according to the configured Governance Services security-mark policies and the operation response is returned to the workflow.
The input parameters of the action are:
| Parameter | Type | Required | Description |
|---|---|---|---|
| file | Array<json>, JSON | Optional | ACS file to update. If multiple files are supplied, only the first file is processed. |
| folder | Array<json>, JSON | Optional | ACS folder to update. 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 assign. For example: PII. |
| securityMarks | Array<String> | Optional | Collection of security marks to apply to the content. |
The output parameters of the action are:
| Parameter | Type | Required | Description |
|---|---|---|---|
| response | Array<json> | Optional | Response returned by ACS for the security-mark assignment request. |