File: //snap/google-cloud-cli/current/help/man/man1/gcloud_scc_postures_list.1
.TH "GCLOUD_SCC_POSTURES_LIST" 1
.SH "NAME"
.HP
gcloud scc postures list \- lists all the Cloud Security Command Center postures for an organization
.SH "SYNOPSIS"
.HP
\f5gcloud scc postures list\fR ([\fIPARENT\fR]\ \fB\-\-location\fR=\fILOCATION\fR\ \fB\-\-organization\fR=\fIORGANIZATION\fR) [\fB\-\-filter\fR=\fIEXPRESSION\fR] [\fB\-\-limit\fR=\fILIMIT\fR] [\fB\-\-page\-size\fR=\fIPAGE_SIZE\fR] [\fB\-\-sort\-by\fR=[\fIFIELD\fR,...]] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
Lists all the Cloud Security Command Center postures for an organization.
.SH "EXAMPLES"
To list all the Cloud Security Command Center postures for an organization
\f5123\fR and in the \f5global\fR location, run:
.RS 2m
$ gcloud scc postures list organizations/123/locations/global
.RE
.RS 2m
$ gcloud scc postures list \-\-organization=123 \-\-location=global
.RE
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
Exactly one of these must be specified:
.RS 2m
.TP 2m
[\fIPARENT\fR]
Parent the Cloud Security Command Center postures belongs to. Formatted as
organizations/<organizationID>/locations/<location>.
.TP 2m
Specify organization and location using flags.
.RS 2m
.TP 2m
\fB\-\-location\fR=\fILOCATION\fR
When data residency controls are enabled, this attribute specifies the location
in which the resource is located and applicable.
This flag argument must be specified if any of the other arguments in this group
are specified.
.TP 2m
\fB\-\-organization\fR=\fIORGANIZATION\fR
The organization ID (e.g., 123) that contains the resource.
This flag argument must be specified if any of the other arguments in this group
are specified.
.RE
.RE
.RE
.sp
.SH "LIST COMMAND FLAGS"
.RS 2m
.TP 2m
\fB\-\-filter\fR=\fIEXPRESSION\fR
Apply a Boolean filter \fIEXPRESSION\fR to each resource item to be listed. If
the expression evaluates \f5True\fR, then that item is listed. For more details
and examples of filter expressions, run $ gcloud topic filters. This flag
interacts with other flags that are applied in this order: \fB\-\-flatten\fR,
\fB\-\-sort\-by\fR, \fB\-\-filter\fR, \fB\-\-limit\fR.
.TP 2m
\fB\-\-limit\fR=\fILIMIT\fR
Maximum number of resources to list. The default is \fBunlimited\fR. This flag
interacts with other flags that are applied in this order: \fB\-\-flatten\fR,
\fB\-\-sort\-by\fR, \fB\-\-filter\fR, \fB\-\-limit\fR.
.TP 2m
\fB\-\-page\-size\fR=\fIPAGE_SIZE\fR
Some services group resource list output into pages. This flag specifies the
maximum number of resources per page. The default is determined by the service
if it supports paging, otherwise it is \fBunlimited\fR (no paging). Paging may
be applied before or after \fB\-\-filter\fR and \fB\-\-limit\fR depending on the
service.
.TP 2m
\fB\-\-sort\-by\fR=[\fIFIELD\fR,...]
Comma\-separated list of resource field key names to sort by. The default order
is ascending. Prefix a field with ``~'' for descending order on that field. This
flag interacts with other flags that are applied in this order:
\fB\-\-flatten\fR, \fB\-\-sort\-by\fR, \fB\-\-filter\fR, \fB\-\-limit\fR.
.RE
.sp
.SH "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 \fB$ gcloud help\fR for details.
.SH "API REFERENCE"
This command uses the securityposture/v1 API. The full documentation for this
API can be found at: https://cloud.google.com/security\-command\-center
.SH "NOTES"
This variant is also available:
.RS 2m
$ gcloud alpha scc postures list
.RE