Atlas CLI support for running commands with the is in Preview. The feature and the corresponding documentation might change at any time during the Preview period. To learn more, see Preview Features.
experimental: Returns access logs for authentication attempts made to Atlas database deployments.
To view database access history, you must have either the Project Owner or Organization Owner role.
Options
Name | Type | Required | Description |
---|---|---|---|
-h, --help | false | help for accessTracking |
Inherited Options
Name | Type | Required | Description |
---|---|---|---|
-P, --profile | string | false | Name of the profile to use from your configuration file. To learn about profiles for the Atlas CLI, see https://dochub.mongodb.org/core/atlas-cli-save-connection-settings. |
Related Commands
atlas api accessTracking listAccessLogsByClusterName - experimental: Returns the access logs of one cluster identified by the cluster's name.
atlas api accessTracking listAccessLogsByHostname - experimental: Returns the access logs of one cluster identified by the cluster's hostname.