Configure audit webhook using the CLI

This page describes how to set up an HTTP webhook for S3 audit purposes using the CLI.

Using the CLI, you can:

Enable an audit webhook for S3 APIs

Command: weka s3 cluster audit-webhook enable

Use the following command line to enable an audit webhook for the S3 cluster:

weka s3 cluster audit-webhook enable <--endpoint endpoint> <--auth-token auth-token>

Parameters

Name

Type

Value

Limitations

Mandatory

Default

endpoint

String

The webhook endpoint

None

Yes

auth-token

String

The authentication token obtained from the webhook service

None

Yes

Disable an audit webhook for S3 APIs

Command: weka s3 cluster audit-webhook disable

Use this command to disable the audit webhook.

View the audit webhook configuration

Command: weka s3 cluster audit-webhook show

Use this command to view the audit webhook configuration.

Last updated