fastly audit-log event-mapping update

Update an audit log event mapping. This replaces the entire mapping, so all required fields must be provided.

Syntax

$ fastly audit-log event-mapping update --id=ID --name=NAME --scope-type=SCOPE-TYPE --event-type=EVENT-TYPE --integration-id=INTEGRATION-ID

Options

KeyRequired?DefaultDescription
--idYesThe unique identifier of the event mapping
--nameYesA descriptive name for the mapping
--scope-typeYesThe category of Fastly resource the mapping applies to (account, vcl, wasm, ngwaf)
--event-typeYesAn audit event type that triggers a notification. Set flag multiple times, or provide a comma-separated list, to specify multiple event types
--integration-idYesThe ID of an integration that should receive notifications. Set flag multiple times, or provide a comma-separated list, to specify multiple integrations
--descriptionNoA description of the mapping
--scope-idNoThe ID of a service or workspace to scope the mapping to. Set flag multiple times, or provide a comma-separated list, to specify multiple scope IDs
--jsonNoRender output as JSON

Global options

KeyRequired?DefaultDescription
--helpNoShow context-sensitive help.
--accept-defaultsNoAccept default options for all interactive prompts apart from Yes/No confirmations
--auto-yesNoAnswer yes automatically to all Yes/No confirmations. This may suppress security warnings
--debug-modeNoPrint API request and response details (NOTE: can disrupt the normal CLI flow output formatting)
--non-interactiveNoDo not prompt for user input - suitable for CI processes. Equivalent to --accept-defaults and --auto-yes
--quietNoSilence all output except direct command output. This won't prevent interactive prompts (see: --accept-defaults, --auto-yes, --non-interactive)
--tokenNoFastly API token, or name of a stored auth token (use 'default' for the default token). Falls back to FASTLY_API_TOKEN env var
--verboseNoVerbose logging

API equivalent

This command internally uses the following Fastly public APIs: