After you create a Cloudera credential, configure Cloudera for audit archiving on Azure.
-
Test the audit configuration by running the following command:
cdp audit configure-archiving --profile <profile-name> --storage-location <storage-location-url>
--credential-name <credential-name> --enabled --storage-region <storage-region> --verify-only
For the
credential-name
parameter, pass the CRN returned in the
command output when you created the credential in the previous task.
For the storage
location, use the URL obtained from the Properties page of the
container in the Azure Management Console. The format is:
https://<storage-account-name>.blob.windows.core.net/<container-name>
If
successful, the command will archive a test audit event to the
container.
- When the response to the previous command is successful, use the command again
without the verify-only flag to set the audit archive
configuration:
cdp audit configure-archiving --storage-location <storage-location-URL>
--credential-name <credential-Name> --enabled --storage-region <storage-Region> --profile <profile-name>
Audit archive configuration is complete.