mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-10 19:31:55 +00:00
72 lines
2.8 KiB
Text
72 lines
2.8 KiB
Text
NAME
|
|
gcloud alpha dlp text inspect - find potentially sensitive data in text
|
|
content
|
|
|
|
SYNOPSIS
|
|
gcloud alpha dlp text inspect
|
|
(--content=CONTENT | --content-file=CONTENT_FILE)
|
|
[--exclude-info-types] [--include-quote] [--info-types=[INFOTYPE,...]]
|
|
[--max-findings=MAX_FINDINGS]
|
|
[--min-likelihood=MIN_LIKELIHOOD; default="possible"]
|
|
[GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
(ALPHA) Find potentially sensitive data in text content.
|
|
|
|
REQUIRED FLAGS
|
|
Exactly one of these must be specified:
|
|
|
|
--content=CONTENT
|
|
Text content to inspect for sensitive data.
|
|
|
|
--content-file=CONTENT_FILE
|
|
Text file to inspect for sensitive data. Can also be a CSV file
|
|
specifying tabular data. For CSV files, up to 50,000 values per
|
|
request are allowed. To read from stdin pass '-' as the file name.
|
|
|
|
OPTIONAL FLAGS
|
|
--exclude-info-types
|
|
Whether or not to exclude type information of the findings. Type
|
|
information is included by default.
|
|
|
|
--include-quote
|
|
If True, a contextual quote from the data that triggered a finding is
|
|
included in the response. Even if the content is not text, it may be
|
|
converted to a textual representation in the response. For example,
|
|
given the input value 'My phone number is (415) 555-0890' and a search
|
|
for the infoType PHONE_NUMBER, the contextual quote would be '(415)
|
|
555-0890.'
|
|
|
|
--info-types=[INFOTYPE,...]
|
|
Which infoTypes to scan input for. The values must correspond to
|
|
infoType values found in documentation. For more information about
|
|
valid infoTypes, see infoTypes Reference
|
|
(https://cloud.google.com/dlp/docs/infotypes-reference)
|
|
|
|
--max-findings=MAX_FINDINGS
|
|
Maximum number of findings that will be returned per execution.
|
|
|
|
If not specified, no limits are applied.
|
|
|
|
--min-likelihood=MIN_LIKELIHOOD; default="possible"
|
|
Only return findings equal to or above this threshold. MIN_LIKELIHOOD
|
|
must be one of: likely, possible, unlikely, very-likely, very-unlikely.
|
|
|
|
GCLOUD WIDE FLAGS
|
|
These flags are available to all commands: --access-token-file, --account,
|
|
--billing-project, --configuration, --flags-file, --flatten, --format,
|
|
--help, --impersonate-service-account, --log-http, --project, --quiet,
|
|
--trace-token, --user-output-enabled, --verbosity.
|
|
|
|
Run $ gcloud help for details.
|
|
|
|
API REFERENCE
|
|
This command uses the dlp/v2 API. The full documentation for this API can
|
|
be found at: https://cloud.google.com/dlp/docs/
|
|
|
|
NOTES
|
|
This command is currently in alpha and might change without notice. If this
|
|
command fails with API permission errors despite specifying the correct
|
|
project, you might be trying to access an API with an invitation-only early
|
|
access allowlist.
|
|
|