OneTrust - Update Custom Fields
OneTrust - Update Custom Fields sets custom-field values on OneTrust Business Applications for assets returned by the selected query or selected on the relevant asset page.
- Assets returned by the selected query or assets selected on the relevant asset page.
-
See Creating Enforcement Sets to learn more about adding Enforcement Actions to Enforcement Sets.
When accessing an enforcement action using the API, you must use the backend form of field names.
Use the Syntax Helper to find the correct name. In the enforcement action, enable Configure Dynamic Values and select Syntax Helper.
Note- Not all asset types are supported for all Enforcement Actions.
- See Actions supported for Activity Logs, Adapters Fetch History, and Asset Investigation modules.
- See Actions supported for Aggregated Security Findings.
- See Actions supported for Software.
Required Fields
These fields must be configured to run the Enforcement Action.
-
- Action name - The name of this Enforcement Action. The system sets a default name. You can change the name.
- Configure Dynamic Values (optional) - Toggle on to enter a Dynamic Value statement. See Creating Enforcement Action Dynamic Value Statements to learn more about Dynamic Value statement syntax.
- Use stored credentials from adapter - Select this option to use credentials from the OneTrust adapter connection. By default, the first connection is selected. You can instead enter the connection settings below.
-
When you select this option, the Select Adapter Connection drop-down becomes available. Select the adapter connection to use for this Enforcement Action.
- Configure at least one of the following:
- Map Axonius Fields to OneTrust Custom Fields - Map an Axonius field to one or more OneTrust custom-field API names. Enter custom-field API names, such as
customField1213, rather than display names. The action sends only mapped values present on the Business Application. - Custom Fields - Set fixed values for OneTrust custom fields. For each row, enter a Field Name using the custom field's API name and a Value. Rows with an empty value are ignored. A fixed value overrides a value for the same field from the mapping.
- Map Axonius Fields to OneTrust Custom Fields - Map an Axonius field to one or more OneTrust custom-field API names. Enter custom-field API names, such as
NoteThe action runs on Business Applications only. Use custom-field API names only: supplying the name of a built-in attribute can change that attribute.
Additional Fields
These fields are optional.
- Verify SSL - Select whether to verify the OneTrust server's SSL certificate.
- HTTPS Proxy - The HTTPS proxy server to use for the connection.
- HTTPS Proxy User Name - The user name for the HTTPS proxy.
- HTTPS Proxy Password - The password for the HTTPS proxy.
-
Gateway Name - Select the Gateway through which to connect to perform the action.
Connection and CredentialsWhen Use stored credentials from the adapter is toggled off, some of the connection fields below are required to create the connection, while other fields are optional.
- Host Name or IP Address - Base domain for the OneTrust API. Include
http://orhttps://and do not append an API endpoint.- Client ID - Client ID for the OneTrust OAuth client.
- Client Secret - Client secret for the OneTrust OAuth client.
- Verify SSL - Select whether to verify the OneTrust server's SSL certificate.
- HTTPS Proxy - The HTTPS proxy server to use for the connection.
- HTTPS Proxy User Name - The user name for the HTTPS proxy.
- HTTPS Proxy Password - The password for the HTTPS proxy.
Gateway Name - Select the Gateway through which to connect to perform the action.
APIs
Axonius uses the OneTrust API - PUT /api/inventory/v2/inventories/assets/{asset_id}.
Required Ports
Axonius must be able to communicate via the following ports:
- TCP port 443 (HTTPS)
- TCP port 80 (HTTP)
Required Permissions
The stored credentials, or those provided in Connection and Credentials, must have the following permission(s) to perform this Enforcement Action:
- An OAuth client with the
INVENTORY_WRITEscope. - A Client ID and Client Secret for the OAuth client.
For more details about other enforcement actions available, see Action Library.
Updated 4 days ago
