montecarlo management (CLI v1)

montecarlo management is part of v1 of the Monte Carlo CLI, the Python CLI (montecarlo, installed with pip install montecarlodata). This page covers its subcommands, usage and options.

Manage account settings.

montecarlo management [OPTIONS] COMMAND [ARGS]...

montecarlo management configure-pii-filtering

Configure PII filtering preferences for the account.

montecarlo management configure-pii-filtering [OPTIONS]

Options

  • --enable / --disable: Whether PII filtering should be active for the account.
  • --fail-mode <fail_mode>: Whether PII filter failures will allow (OPEN) or prevent (CLOSE) data flow for this account. Options: CLOSE | OPEN.

Source: montecarlo management configure-pii-filtering in the CLI reference

montecarlo management delete-asset-collection-preferences

Delete asset collection preferences for a specific asset type on a resource. Supported asset types and attributes:

tableau

  • project: name

  • workbook: name, luid

montecarlo management delete-asset-collection-preferences [OPTIONS]

Options

  • --resource-name <resource_name>: Required Name of the resource (warehouse or BI container) to remove preferences from.
  • --asset-type <asset_type>: Required The type of asset to remove collection preferences for. See command help for supported types.

Source: montecarlo management delete-asset-collection-preferences in the CLI reference

montecarlo management get-asset-collection-preferences

List asset collection preferences on this account. Supported asset types and attributes:

tableau

  • project: name

  • workbook: name, luid

montecarlo management get-asset-collection-preferences [OPTIONS]

Options

  • --resource-name <resource_name>: Name of a specific resource (warehouse or BI container) to filter by.Shows all resources by default.
  • --asset-type <asset_type>: Filter by specific asset type. Shows all asset types by default.

Source: montecarlo management get-asset-collection-preferences in the CLI reference

montecarlo management get-collection-block-list

List entities blocked from collection on this account.

montecarlo management get-collection-block-list [OPTIONS]

Options

  • --resource-name <resource_name>: Name of a specific resource to filter by. Shows all resources by default.

Source: montecarlo management get-collection-block-list in the CLI reference

montecarlo management get-pii-preferences

Get PII filtering preferences.

montecarlo management get-pii-preferences [OPTIONS]

Source: montecarlo management get-pii-preferences in the CLI reference

montecarlo management set-asset-collection-preferences

Set asset collection preferences for a specific asset type on a resource. Supported asset types and attributes:

tableau

  • project: name

  • workbook: name, luid

montecarlo management set-asset-collection-preferences [OPTIONS]

Options

  • --resource-name <resource_name>: Required Name of the resource (warehouse or BI container) to configure.
  • --asset-type <asset_type>: Required The type of asset to configure collection preferences for. See command help for supported types.
  • --default-effect <default_effect>: Default action when no rules match: 'allow' to collect assets, 'block' to exclude them. Options: allow | block.
  • --rules-json <rules_json>: Optional JSON array of rules to filter which assets are collected. Each rule has conditions and an effect. Example: [{"conditions": [{"attribute_name": "name", "value": "test_*", "comparison_type": "prefix"}], "effect": "block"}]. Valid comparison_type values: exact_match (default), prefix, suffix, substring, regexp. Valid effect values: allow, block.

Source: montecarlo management set-asset-collection-preferences in the CLI reference

montecarlo management update-collection-block-list

Update entities for which collection is blocked on this account.

montecarlo management update-collection-block-list [OPTIONS]

Options

  • --add / --remove: Required Whether the entities being specified should be added or removed from the block list.
  • --resource-name <resource_name>: Name of a specific resource to apply collection block to. Only warehouse names are supported for now. This option cannot be used with 'filename'. This option requires setting 'project'.
  • --project <project>: Top-level object hierarchy e.g. database, catalog, etc. This option cannot be used with 'filename'. This option requires setting 'resource-name'.
  • --dataset <dataset>: Intermediate object hierarchy e.g. schema, database, etc. This option cannot be used with 'filename'. This option requires setting 'project', and 'resource-name'.
  • --collection-block-list-filename <filename>: Filename that contains collection block definitions. This file is expected to be in a CSV format with the headers resource_name, project, and dataset. This option cannot be used with 'dataset', 'project', and 'resource-name'.

Source: montecarlo management update-collection-block-list in the CLI reference

Source: montecarlo management in the CLI reference

This page is generated from the CLI's help text on each release. Changes made in ReadMe are overwritten.


Did this page help you?