mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
remove generated libs
This commit is contained in:
@@ -1,42 +0,0 @@
|
||||
# DO NOT EDIT !
|
||||
# This file was generated automatically from 'src/generator/templates/Cargo.toml.mako'
|
||||
# DO NOT EDIT !
|
||||
[package]
|
||||
|
||||
name = "google-securitycenter1-cli"
|
||||
version = "5.0.4+20240302"
|
||||
authors = ["Sebastian Thiel <byronimo@gmail.com>"]
|
||||
description = "A complete library to interact with Security Command Center (protocol v1)"
|
||||
repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/securitycenter1-cli"
|
||||
homepage = "https://cloud.google.com/security-command-center"
|
||||
documentation = "http://byron.github.io/google-apis-rs/google_securitycenter1_cli"
|
||||
license = "MIT"
|
||||
keywords = ["securitycenter", "google", "cli"]
|
||||
autobins = false
|
||||
edition = "2018"
|
||||
|
||||
[[bin]]
|
||||
name = "securitycenter1"
|
||||
path = "src/main.rs"
|
||||
|
||||
[dependencies]
|
||||
anyhow = "^ 1.0"
|
||||
hyper-rustls = "0.24.0"
|
||||
mime = "^ 0.3.0"
|
||||
serde = { version = "^ 1.0", features = ["derive"] }
|
||||
serde_json = "^ 1.0"
|
||||
itertools = "^ 0.10"
|
||||
google-clis-common = { path = "../../google-clis-common", version = "6.0" }
|
||||
strsim = "^0.5"
|
||||
clap = "^2.0"
|
||||
http = "^0.2"
|
||||
hyper = { version = "0.14", features = ["full"] }
|
||||
tokio = { version = "^ 1.0", features = ["full"] }
|
||||
tower-service = "^0.3.1"
|
||||
|
||||
|
||||
|
||||
[dependencies.google-securitycenter1]
|
||||
path = "../securitycenter1"
|
||||
version = "5.0.4+20240302"
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
<!---
|
||||
DO NOT EDIT !
|
||||
This file was generated automatically from 'src/generator/templates/LICENSE.md.mako'
|
||||
DO NOT EDIT !
|
||||
-->
|
||||
The MIT License (MIT)
|
||||
=====================
|
||||
|
||||
Copyright © `2015-2020` `Sebastian Thiel`
|
||||
|
||||
Permission is hereby granted, free of charge, to any person
|
||||
obtaining a copy of this software and associated documentation
|
||||
files (the “Software”), to deal in the Software without
|
||||
restriction, including without limitation the rights to use,
|
||||
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the
|
||||
Software is furnished to do so, subject to the following
|
||||
conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
OTHER DEALINGS IN THE SOFTWARE.
|
||||
@@ -1,276 +0,0 @@
|
||||
<!---
|
||||
DO NOT EDIT !
|
||||
This file was generated automatically from 'src/generator/templates/cli/README.md.mako'
|
||||
DO NOT EDIT !
|
||||
-->
|
||||
The `securitycenter1` command-line interface *(CLI)* allows to use most features of the *Google Security Command Center* service from the comfort of your terminal.
|
||||
|
||||
By default all output is printed to standard out, but flags can be set to direct it into a file independent of your shell's
|
||||
capabilities. Errors will be printed to standard error, and cause the program's exit code to be non-zero.
|
||||
|
||||
If data-structures are requested, these will be returned as pretty-printed JSON, to be useful as input to other tools.
|
||||
|
||||
Everything else about the *Security Command Center* API can be found at the
|
||||
[official documentation site](https://cloud.google.com/security-command-center).
|
||||
|
||||
# Installation and Source Code
|
||||
|
||||
Install the command-line interface with cargo using:
|
||||
|
||||
```bash
|
||||
cargo install google-securitycenter1-cli
|
||||
```
|
||||
|
||||
Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/main/gen/securitycenter1-cli).
|
||||
|
||||
# Usage
|
||||
|
||||
This documentation was generated from the *Security Command Center* API at revision *20240302*. The CLI is at version *5.0.4*.
|
||||
|
||||
```bash
|
||||
securitycenter1 [options]
|
||||
folders
|
||||
assets-group <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
assets-list <parent> [-p <v>]... [-o <out>]
|
||||
assets-update-security-marks <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
big-query-exports-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
big-query-exports-delete <name> [-p <v>]... [-o <out>]
|
||||
big-query-exports-get <name> [-p <v>]... [-o <out>]
|
||||
big-query-exports-list <parent> [-p <v>]... [-o <out>]
|
||||
big-query-exports-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
event-threat-detection-settings-custom-modules-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
event-threat-detection-settings-custom-modules-delete <name> [-p <v>]... [-o <out>]
|
||||
event-threat-detection-settings-custom-modules-get <name> [-p <v>]... [-o <out>]
|
||||
event-threat-detection-settings-custom-modules-list <parent> [-p <v>]... [-o <out>]
|
||||
event-threat-detection-settings-custom-modules-list-descendant <parent> [-p <v>]... [-o <out>]
|
||||
event-threat-detection-settings-custom-modules-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
event-threat-detection-settings-effective-custom-modules-get <name> [-p <v>]... [-o <out>]
|
||||
event-threat-detection-settings-effective-custom-modules-list <parent> [-p <v>]... [-o <out>]
|
||||
event-threat-detection-settings-validate-custom-module <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
findings-bulk-mute <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
locations-mute-configs-delete <name> [-p <v>]... [-o <out>]
|
||||
locations-mute-configs-get <name> [-p <v>]... [-o <out>]
|
||||
locations-mute-configs-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
mute-configs-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
mute-configs-delete <name> [-p <v>]... [-o <out>]
|
||||
mute-configs-get <name> [-p <v>]... [-o <out>]
|
||||
mute-configs-list <parent> [-p <v>]... [-o <out>]
|
||||
mute-configs-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
notification-configs-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
notification-configs-delete <name> [-p <v>]... [-o <out>]
|
||||
notification-configs-get <name> [-p <v>]... [-o <out>]
|
||||
notification-configs-list <parent> [-p <v>]... [-o <out>]
|
||||
notification-configs-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
security-health-analytics-settings-custom-modules-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
security-health-analytics-settings-custom-modules-delete <name> [-p <v>]... [-o <out>]
|
||||
security-health-analytics-settings-custom-modules-get <name> [-p <v>]... [-o <out>]
|
||||
security-health-analytics-settings-custom-modules-list <parent> [-p <v>]... [-o <out>]
|
||||
security-health-analytics-settings-custom-modules-list-descendant <parent> [-p <v>]... [-o <out>]
|
||||
security-health-analytics-settings-custom-modules-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
security-health-analytics-settings-custom-modules-simulate <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
security-health-analytics-settings-effective-custom-modules-get <name> [-p <v>]... [-o <out>]
|
||||
security-health-analytics-settings-effective-custom-modules-list <parent> [-p <v>]... [-o <out>]
|
||||
sources-findings-external-systems-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
sources-findings-group <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
sources-findings-list <parent> [-p <v>]... [-o <out>]
|
||||
sources-findings-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
sources-findings-set-mute <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
sources-findings-set-state <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
sources-findings-update-security-marks <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
sources-list <parent> [-p <v>]... [-o <out>]
|
||||
organizations
|
||||
assets-group <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
assets-list <parent> [-p <v>]... [-o <out>]
|
||||
assets-run-discovery <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
assets-update-security-marks <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
big-query-exports-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
big-query-exports-delete <name> [-p <v>]... [-o <out>]
|
||||
big-query-exports-get <name> [-p <v>]... [-o <out>]
|
||||
big-query-exports-list <parent> [-p <v>]... [-o <out>]
|
||||
big-query-exports-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
event-threat-detection-settings-custom-modules-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
event-threat-detection-settings-custom-modules-delete <name> [-p <v>]... [-o <out>]
|
||||
event-threat-detection-settings-custom-modules-get <name> [-p <v>]... [-o <out>]
|
||||
event-threat-detection-settings-custom-modules-list <parent> [-p <v>]... [-o <out>]
|
||||
event-threat-detection-settings-custom-modules-list-descendant <parent> [-p <v>]... [-o <out>]
|
||||
event-threat-detection-settings-custom-modules-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
event-threat-detection-settings-effective-custom-modules-get <name> [-p <v>]... [-o <out>]
|
||||
event-threat-detection-settings-effective-custom-modules-list <parent> [-p <v>]... [-o <out>]
|
||||
event-threat-detection-settings-validate-custom-module <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
findings-bulk-mute <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
get-organization-settings <name> [-p <v>]... [-o <out>]
|
||||
locations-mute-configs-delete <name> [-p <v>]... [-o <out>]
|
||||
locations-mute-configs-get <name> [-p <v>]... [-o <out>]
|
||||
locations-mute-configs-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
mute-configs-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
mute-configs-delete <name> [-p <v>]... [-o <out>]
|
||||
mute-configs-get <name> [-p <v>]... [-o <out>]
|
||||
mute-configs-list <parent> [-p <v>]... [-o <out>]
|
||||
mute-configs-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
notification-configs-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
notification-configs-delete <name> [-p <v>]... [-o <out>]
|
||||
notification-configs-get <name> [-p <v>]... [-o <out>]
|
||||
notification-configs-list <parent> [-p <v>]... [-o <out>]
|
||||
notification-configs-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
operations-cancel <name> [-p <v>]... [-o <out>]
|
||||
operations-delete <name> [-p <v>]... [-o <out>]
|
||||
operations-get <name> [-p <v>]... [-o <out>]
|
||||
operations-list <name> [-p <v>]... [-o <out>]
|
||||
resource-value-configs-batch-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
resource-value-configs-delete <name> [-p <v>]... [-o <out>]
|
||||
resource-value-configs-get <name> [-p <v>]... [-o <out>]
|
||||
resource-value-configs-list <parent> [-p <v>]... [-o <out>]
|
||||
resource-value-configs-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
security-health-analytics-settings-custom-modules-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
security-health-analytics-settings-custom-modules-delete <name> [-p <v>]... [-o <out>]
|
||||
security-health-analytics-settings-custom-modules-get <name> [-p <v>]... [-o <out>]
|
||||
security-health-analytics-settings-custom-modules-list <parent> [-p <v>]... [-o <out>]
|
||||
security-health-analytics-settings-custom-modules-list-descendant <parent> [-p <v>]... [-o <out>]
|
||||
security-health-analytics-settings-custom-modules-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
security-health-analytics-settings-custom-modules-simulate <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
security-health-analytics-settings-effective-custom-modules-get <name> [-p <v>]... [-o <out>]
|
||||
security-health-analytics-settings-effective-custom-modules-list <parent> [-p <v>]... [-o <out>]
|
||||
simulations-attack-exposure-results-attack-paths-list <parent> [-p <v>]... [-o <out>]
|
||||
simulations-attack-exposure-results-valued-resources-list <parent> [-p <v>]... [-o <out>]
|
||||
simulations-attack-paths-list <parent> [-p <v>]... [-o <out>]
|
||||
simulations-get <name> [-p <v>]... [-o <out>]
|
||||
simulations-valued-resources-attack-paths-list <parent> [-p <v>]... [-o <out>]
|
||||
simulations-valued-resources-get <name> [-p <v>]... [-o <out>]
|
||||
simulations-valued-resources-list <parent> [-p <v>]... [-o <out>]
|
||||
sources-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
sources-findings-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
sources-findings-external-systems-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
sources-findings-group <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
sources-findings-list <parent> [-p <v>]... [-o <out>]
|
||||
sources-findings-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
sources-findings-set-mute <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
sources-findings-set-state <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
sources-findings-update-security-marks <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
sources-get <name> [-p <v>]... [-o <out>]
|
||||
sources-get-iam-policy <resource> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
sources-list <parent> [-p <v>]... [-o <out>]
|
||||
sources-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
sources-set-iam-policy <resource> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
sources-test-iam-permissions <resource> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
update-organization-settings <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
projects
|
||||
assets-group <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
assets-list <parent> [-p <v>]... [-o <out>]
|
||||
assets-update-security-marks <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
big-query-exports-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
big-query-exports-delete <name> [-p <v>]... [-o <out>]
|
||||
big-query-exports-get <name> [-p <v>]... [-o <out>]
|
||||
big-query-exports-list <parent> [-p <v>]... [-o <out>]
|
||||
big-query-exports-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
event-threat-detection-settings-custom-modules-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
event-threat-detection-settings-custom-modules-delete <name> [-p <v>]... [-o <out>]
|
||||
event-threat-detection-settings-custom-modules-get <name> [-p <v>]... [-o <out>]
|
||||
event-threat-detection-settings-custom-modules-list <parent> [-p <v>]... [-o <out>]
|
||||
event-threat-detection-settings-custom-modules-list-descendant <parent> [-p <v>]... [-o <out>]
|
||||
event-threat-detection-settings-custom-modules-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
event-threat-detection-settings-effective-custom-modules-get <name> [-p <v>]... [-o <out>]
|
||||
event-threat-detection-settings-effective-custom-modules-list <parent> [-p <v>]... [-o <out>]
|
||||
event-threat-detection-settings-validate-custom-module <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
findings-bulk-mute <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
locations-mute-configs-delete <name> [-p <v>]... [-o <out>]
|
||||
locations-mute-configs-get <name> [-p <v>]... [-o <out>]
|
||||
locations-mute-configs-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
mute-configs-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
mute-configs-delete <name> [-p <v>]... [-o <out>]
|
||||
mute-configs-get <name> [-p <v>]... [-o <out>]
|
||||
mute-configs-list <parent> [-p <v>]... [-o <out>]
|
||||
mute-configs-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
notification-configs-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
notification-configs-delete <name> [-p <v>]... [-o <out>]
|
||||
notification-configs-get <name> [-p <v>]... [-o <out>]
|
||||
notification-configs-list <parent> [-p <v>]... [-o <out>]
|
||||
notification-configs-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
security-health-analytics-settings-custom-modules-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
security-health-analytics-settings-custom-modules-delete <name> [-p <v>]... [-o <out>]
|
||||
security-health-analytics-settings-custom-modules-get <name> [-p <v>]... [-o <out>]
|
||||
security-health-analytics-settings-custom-modules-list <parent> [-p <v>]... [-o <out>]
|
||||
security-health-analytics-settings-custom-modules-list-descendant <parent> [-p <v>]... [-o <out>]
|
||||
security-health-analytics-settings-custom-modules-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
security-health-analytics-settings-custom-modules-simulate <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
security-health-analytics-settings-effective-custom-modules-get <name> [-p <v>]... [-o <out>]
|
||||
security-health-analytics-settings-effective-custom-modules-list <parent> [-p <v>]... [-o <out>]
|
||||
sources-findings-external-systems-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
sources-findings-group <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
sources-findings-list <parent> [-p <v>]... [-o <out>]
|
||||
sources-findings-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
sources-findings-set-mute <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
sources-findings-set-state <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
sources-findings-update-security-marks <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
||||
sources-list <parent> [-p <v>]... [-o <out>]
|
||||
securitycenter1 --help
|
||||
|
||||
Configuration:
|
||||
[--scope <url>]...
|
||||
Specify the authentication a method should be executed in. Each scope
|
||||
requires the user to grant this application permission to use it.
|
||||
If unset, it defaults to the shortest scope url for a particular method.
|
||||
--config-dir <folder>
|
||||
A directory into which we will store our persistent data. Defaults to
|
||||
a user-writable directory that we will create during the first invocation.
|
||||
[default: ~/.google-service-cli]
|
||||
|
||||
```
|
||||
|
||||
# Configuration
|
||||
|
||||
The program will store all persistent data in the `~/.google-service-cli` directory in *JSON* files prefixed with `securitycenter1-`. You can change the directory used to store configuration with the `--config-dir` flag on a per-invocation basis.
|
||||
|
||||
More information about the various kinds of persistent data are given in the following paragraphs.
|
||||
|
||||
# Authentication
|
||||
|
||||
Most APIs require a user to authenticate any request. If this is the case, the [scope][scopes] determines the
|
||||
set of permissions granted. The granularity of these is usually no more than *read-only* or *full-access*.
|
||||
|
||||
If not set, the system will automatically select the smallest feasible scope, e.g. when invoking a
|
||||
method that is read-only, it will ask only for a read-only scope.
|
||||
You may use the `--scope` flag to specify a scope directly.
|
||||
All applicable scopes are documented in the respective method's CLI documentation.
|
||||
|
||||
The first time a scope is used, the user is asked for permission. Follow the instructions given
|
||||
by the CLI to grant permissions, or to decline.
|
||||
|
||||
If a scope was authenticated by the user, the respective information will be stored as *JSON* in the configuration
|
||||
directory, e.g. `~/.google-service-cli/securitycenter1-token-<scope-hash>.json`. No manual management of these tokens
|
||||
is necessary.
|
||||
|
||||
To revoke granted authentication, please refer to the [official documentation][revoke-access].
|
||||
|
||||
# Application Secrets
|
||||
|
||||
In order to allow any application to use Google services, it will need to be registered using the
|
||||
[Google Developer Console][google-dev-console]. APIs the application may use are then enabled for it
|
||||
one by one. Most APIs can be used for free and have a daily quota.
|
||||
|
||||
To allow more comfortable usage of the CLI without forcing anyone to register an own application, the CLI
|
||||
comes with a default application secret that is configured accordingly. This also means that heavy usage
|
||||
all around the world may deplete the daily quota.
|
||||
|
||||
You can workaround this limitation by putting your own secrets file at this location:
|
||||
`~/.google-service-cli/securitycenter1-secret.json`, assuming that the required *securitycenter* API
|
||||
was enabled for it. Such a secret file can be downloaded in the *Google Developer Console* at
|
||||
*APIs & auth -> Credentials -> Download JSON* and used as is.
|
||||
|
||||
Learn more about how to setup Google projects and enable APIs using the [official documentation][google-project-new].
|
||||
|
||||
|
||||
# Debugging
|
||||
|
||||
Even though the CLI does its best to provide usable error messages, sometimes it might be desirable to know
|
||||
what exactly led to a particular issue. This is done by allowing all client-server communication to be
|
||||
output to standard error *as-is*.
|
||||
|
||||
The `--debug` flag will print errors using the `Debug` representation to standard error.
|
||||
|
||||
You may consider redirecting standard error into a file for ease of use, e.g. `securitycenter1 --debug <resource> <method> [options] 2>debug.txt`.
|
||||
|
||||
|
||||
[scopes]: https://developers.google.com/+/api/oauth#scopes
|
||||
[revoke-access]: http://webapps.stackexchange.com/a/30849
|
||||
[google-dev-console]: https://console.developers.google.com/
|
||||
[google-project-new]: https://developers.google.com/console/help/new/
|
||||
@@ -1,189 +0,0 @@
|
||||
site_name: Security Command Center v5.0.4+20240302
|
||||
site_url: http://byron.github.io/google-apis-rs/google-securitycenter1-cli
|
||||
site_description: A complete library to interact with Security Command Center (protocol v1)
|
||||
|
||||
repo_url: https://github.com/Byron/google-apis-rs/tree/main/gen/securitycenter1-cli
|
||||
|
||||
docs_dir: docs
|
||||
site_dir: build_html
|
||||
|
||||
nav:
|
||||
- Home: 'index.md'
|
||||
- 'Folders':
|
||||
- 'Assets Group': 'folders_assets-group.md'
|
||||
- 'Assets List': 'folders_assets-list.md'
|
||||
- 'Assets Update Security Marks': 'folders_assets-update-security-marks.md'
|
||||
- 'Big Query Exports Create': 'folders_big-query-exports-create.md'
|
||||
- 'Big Query Exports Delete': 'folders_big-query-exports-delete.md'
|
||||
- 'Big Query Exports Get': 'folders_big-query-exports-get.md'
|
||||
- 'Big Query Exports List': 'folders_big-query-exports-list.md'
|
||||
- 'Big Query Exports Patch': 'folders_big-query-exports-patch.md'
|
||||
- 'Event Threat Detection Settings Custom Modules Create': 'folders_event-threat-detection-settings-custom-modules-create.md'
|
||||
- 'Event Threat Detection Settings Custom Modules Delete': 'folders_event-threat-detection-settings-custom-modules-delete.md'
|
||||
- 'Event Threat Detection Settings Custom Modules Get': 'folders_event-threat-detection-settings-custom-modules-get.md'
|
||||
- 'Event Threat Detection Settings Custom Modules List': 'folders_event-threat-detection-settings-custom-modules-list.md'
|
||||
- 'Event Threat Detection Settings Custom Modules List Descendant': 'folders_event-threat-detection-settings-custom-modules-list-descendant.md'
|
||||
- 'Event Threat Detection Settings Custom Modules Patch': 'folders_event-threat-detection-settings-custom-modules-patch.md'
|
||||
- 'Event Threat Detection Settings Effective Custom Modules Get': 'folders_event-threat-detection-settings-effective-custom-modules-get.md'
|
||||
- 'Event Threat Detection Settings Effective Custom Modules List': 'folders_event-threat-detection-settings-effective-custom-modules-list.md'
|
||||
- 'Event Threat Detection Settings Validate Custom Module': 'folders_event-threat-detection-settings-validate-custom-module.md'
|
||||
- 'Findings Bulk Mute': 'folders_findings-bulk-mute.md'
|
||||
- 'Locations Mute Configs Delete': 'folders_locations-mute-configs-delete.md'
|
||||
- 'Locations Mute Configs Get': 'folders_locations-mute-configs-get.md'
|
||||
- 'Locations Mute Configs Patch': 'folders_locations-mute-configs-patch.md'
|
||||
- 'Mute Configs Create': 'folders_mute-configs-create.md'
|
||||
- 'Mute Configs Delete': 'folders_mute-configs-delete.md'
|
||||
- 'Mute Configs Get': 'folders_mute-configs-get.md'
|
||||
- 'Mute Configs List': 'folders_mute-configs-list.md'
|
||||
- 'Mute Configs Patch': 'folders_mute-configs-patch.md'
|
||||
- 'Notification Configs Create': 'folders_notification-configs-create.md'
|
||||
- 'Notification Configs Delete': 'folders_notification-configs-delete.md'
|
||||
- 'Notification Configs Get': 'folders_notification-configs-get.md'
|
||||
- 'Notification Configs List': 'folders_notification-configs-list.md'
|
||||
- 'Notification Configs Patch': 'folders_notification-configs-patch.md'
|
||||
- 'Security Health Analytics Settings Custom Modules Create': 'folders_security-health-analytics-settings-custom-modules-create.md'
|
||||
- 'Security Health Analytics Settings Custom Modules Delete': 'folders_security-health-analytics-settings-custom-modules-delete.md'
|
||||
- 'Security Health Analytics Settings Custom Modules Get': 'folders_security-health-analytics-settings-custom-modules-get.md'
|
||||
- 'Security Health Analytics Settings Custom Modules List': 'folders_security-health-analytics-settings-custom-modules-list.md'
|
||||
- 'Security Health Analytics Settings Custom Modules List Descendant': 'folders_security-health-analytics-settings-custom-modules-list-descendant.md'
|
||||
- 'Security Health Analytics Settings Custom Modules Patch': 'folders_security-health-analytics-settings-custom-modules-patch.md'
|
||||
- 'Security Health Analytics Settings Custom Modules Simulate': 'folders_security-health-analytics-settings-custom-modules-simulate.md'
|
||||
- 'Security Health Analytics Settings Effective Custom Modules Get': 'folders_security-health-analytics-settings-effective-custom-modules-get.md'
|
||||
- 'Security Health Analytics Settings Effective Custom Modules List': 'folders_security-health-analytics-settings-effective-custom-modules-list.md'
|
||||
- 'Sources Findings External Systems Patch': 'folders_sources-findings-external-systems-patch.md'
|
||||
- 'Sources Findings Group': 'folders_sources-findings-group.md'
|
||||
- 'Sources Findings List': 'folders_sources-findings-list.md'
|
||||
- 'Sources Findings Patch': 'folders_sources-findings-patch.md'
|
||||
- 'Sources Findings Set Mute': 'folders_sources-findings-set-mute.md'
|
||||
- 'Sources Findings Set State': 'folders_sources-findings-set-state.md'
|
||||
- 'Sources Findings Update Security Marks': 'folders_sources-findings-update-security-marks.md'
|
||||
- 'Sources List': 'folders_sources-list.md'
|
||||
- 'Organizations':
|
||||
- 'Assets Group': 'organizations_assets-group.md'
|
||||
- 'Assets List': 'organizations_assets-list.md'
|
||||
- 'Assets Run Discovery': 'organizations_assets-run-discovery.md'
|
||||
- 'Assets Update Security Marks': 'organizations_assets-update-security-marks.md'
|
||||
- 'Big Query Exports Create': 'organizations_big-query-exports-create.md'
|
||||
- 'Big Query Exports Delete': 'organizations_big-query-exports-delete.md'
|
||||
- 'Big Query Exports Get': 'organizations_big-query-exports-get.md'
|
||||
- 'Big Query Exports List': 'organizations_big-query-exports-list.md'
|
||||
- 'Big Query Exports Patch': 'organizations_big-query-exports-patch.md'
|
||||
- 'Event Threat Detection Settings Custom Modules Create': 'organizations_event-threat-detection-settings-custom-modules-create.md'
|
||||
- 'Event Threat Detection Settings Custom Modules Delete': 'organizations_event-threat-detection-settings-custom-modules-delete.md'
|
||||
- 'Event Threat Detection Settings Custom Modules Get': 'organizations_event-threat-detection-settings-custom-modules-get.md'
|
||||
- 'Event Threat Detection Settings Custom Modules List': 'organizations_event-threat-detection-settings-custom-modules-list.md'
|
||||
- 'Event Threat Detection Settings Custom Modules List Descendant': 'organizations_event-threat-detection-settings-custom-modules-list-descendant.md'
|
||||
- 'Event Threat Detection Settings Custom Modules Patch': 'organizations_event-threat-detection-settings-custom-modules-patch.md'
|
||||
- 'Event Threat Detection Settings Effective Custom Modules Get': 'organizations_event-threat-detection-settings-effective-custom-modules-get.md'
|
||||
- 'Event Threat Detection Settings Effective Custom Modules List': 'organizations_event-threat-detection-settings-effective-custom-modules-list.md'
|
||||
- 'Event Threat Detection Settings Validate Custom Module': 'organizations_event-threat-detection-settings-validate-custom-module.md'
|
||||
- 'Findings Bulk Mute': 'organizations_findings-bulk-mute.md'
|
||||
- 'Get Organization Settings': 'organizations_get-organization-settings.md'
|
||||
- 'Locations Mute Configs Delete': 'organizations_locations-mute-configs-delete.md'
|
||||
- 'Locations Mute Configs Get': 'organizations_locations-mute-configs-get.md'
|
||||
- 'Locations Mute Configs Patch': 'organizations_locations-mute-configs-patch.md'
|
||||
- 'Mute Configs Create': 'organizations_mute-configs-create.md'
|
||||
- 'Mute Configs Delete': 'organizations_mute-configs-delete.md'
|
||||
- 'Mute Configs Get': 'organizations_mute-configs-get.md'
|
||||
- 'Mute Configs List': 'organizations_mute-configs-list.md'
|
||||
- 'Mute Configs Patch': 'organizations_mute-configs-patch.md'
|
||||
- 'Notification Configs Create': 'organizations_notification-configs-create.md'
|
||||
- 'Notification Configs Delete': 'organizations_notification-configs-delete.md'
|
||||
- 'Notification Configs Get': 'organizations_notification-configs-get.md'
|
||||
- 'Notification Configs List': 'organizations_notification-configs-list.md'
|
||||
- 'Notification Configs Patch': 'organizations_notification-configs-patch.md'
|
||||
- 'Operations Cancel': 'organizations_operations-cancel.md'
|
||||
- 'Operations Delete': 'organizations_operations-delete.md'
|
||||
- 'Operations Get': 'organizations_operations-get.md'
|
||||
- 'Operations List': 'organizations_operations-list.md'
|
||||
- 'Resource Value Configs Batch Create': 'organizations_resource-value-configs-batch-create.md'
|
||||
- 'Resource Value Configs Delete': 'organizations_resource-value-configs-delete.md'
|
||||
- 'Resource Value Configs Get': 'organizations_resource-value-configs-get.md'
|
||||
- 'Resource Value Configs List': 'organizations_resource-value-configs-list.md'
|
||||
- 'Resource Value Configs Patch': 'organizations_resource-value-configs-patch.md'
|
||||
- 'Security Health Analytics Settings Custom Modules Create': 'organizations_security-health-analytics-settings-custom-modules-create.md'
|
||||
- 'Security Health Analytics Settings Custom Modules Delete': 'organizations_security-health-analytics-settings-custom-modules-delete.md'
|
||||
- 'Security Health Analytics Settings Custom Modules Get': 'organizations_security-health-analytics-settings-custom-modules-get.md'
|
||||
- 'Security Health Analytics Settings Custom Modules List': 'organizations_security-health-analytics-settings-custom-modules-list.md'
|
||||
- 'Security Health Analytics Settings Custom Modules List Descendant': 'organizations_security-health-analytics-settings-custom-modules-list-descendant.md'
|
||||
- 'Security Health Analytics Settings Custom Modules Patch': 'organizations_security-health-analytics-settings-custom-modules-patch.md'
|
||||
- 'Security Health Analytics Settings Custom Modules Simulate': 'organizations_security-health-analytics-settings-custom-modules-simulate.md'
|
||||
- 'Security Health Analytics Settings Effective Custom Modules Get': 'organizations_security-health-analytics-settings-effective-custom-modules-get.md'
|
||||
- 'Security Health Analytics Settings Effective Custom Modules List': 'organizations_security-health-analytics-settings-effective-custom-modules-list.md'
|
||||
- 'Simulations Attack Exposure Results Attack Paths List': 'organizations_simulations-attack-exposure-results-attack-paths-list.md'
|
||||
- 'Simulations Attack Exposure Results Valued Resources List': 'organizations_simulations-attack-exposure-results-valued-resources-list.md'
|
||||
- 'Simulations Attack Paths List': 'organizations_simulations-attack-paths-list.md'
|
||||
- 'Simulations Get': 'organizations_simulations-get.md'
|
||||
- 'Simulations Valued Resources Attack Paths List': 'organizations_simulations-valued-resources-attack-paths-list.md'
|
||||
- 'Simulations Valued Resources Get': 'organizations_simulations-valued-resources-get.md'
|
||||
- 'Simulations Valued Resources List': 'organizations_simulations-valued-resources-list.md'
|
||||
- 'Sources Create': 'organizations_sources-create.md'
|
||||
- 'Sources Findings Create': 'organizations_sources-findings-create.md'
|
||||
- 'Sources Findings External Systems Patch': 'organizations_sources-findings-external-systems-patch.md'
|
||||
- 'Sources Findings Group': 'organizations_sources-findings-group.md'
|
||||
- 'Sources Findings List': 'organizations_sources-findings-list.md'
|
||||
- 'Sources Findings Patch': 'organizations_sources-findings-patch.md'
|
||||
- 'Sources Findings Set Mute': 'organizations_sources-findings-set-mute.md'
|
||||
- 'Sources Findings Set State': 'organizations_sources-findings-set-state.md'
|
||||
- 'Sources Findings Update Security Marks': 'organizations_sources-findings-update-security-marks.md'
|
||||
- 'Sources Get': 'organizations_sources-get.md'
|
||||
- 'Sources Get Iam Policy': 'organizations_sources-get-iam-policy.md'
|
||||
- 'Sources List': 'organizations_sources-list.md'
|
||||
- 'Sources Patch': 'organizations_sources-patch.md'
|
||||
- 'Sources Set Iam Policy': 'organizations_sources-set-iam-policy.md'
|
||||
- 'Sources Test Iam Permissions': 'organizations_sources-test-iam-permissions.md'
|
||||
- 'Update Organization Settings': 'organizations_update-organization-settings.md'
|
||||
- 'Projects':
|
||||
- 'Assets Group': 'projects_assets-group.md'
|
||||
- 'Assets List': 'projects_assets-list.md'
|
||||
- 'Assets Update Security Marks': 'projects_assets-update-security-marks.md'
|
||||
- 'Big Query Exports Create': 'projects_big-query-exports-create.md'
|
||||
- 'Big Query Exports Delete': 'projects_big-query-exports-delete.md'
|
||||
- 'Big Query Exports Get': 'projects_big-query-exports-get.md'
|
||||
- 'Big Query Exports List': 'projects_big-query-exports-list.md'
|
||||
- 'Big Query Exports Patch': 'projects_big-query-exports-patch.md'
|
||||
- 'Event Threat Detection Settings Custom Modules Create': 'projects_event-threat-detection-settings-custom-modules-create.md'
|
||||
- 'Event Threat Detection Settings Custom Modules Delete': 'projects_event-threat-detection-settings-custom-modules-delete.md'
|
||||
- 'Event Threat Detection Settings Custom Modules Get': 'projects_event-threat-detection-settings-custom-modules-get.md'
|
||||
- 'Event Threat Detection Settings Custom Modules List': 'projects_event-threat-detection-settings-custom-modules-list.md'
|
||||
- 'Event Threat Detection Settings Custom Modules List Descendant': 'projects_event-threat-detection-settings-custom-modules-list-descendant.md'
|
||||
- 'Event Threat Detection Settings Custom Modules Patch': 'projects_event-threat-detection-settings-custom-modules-patch.md'
|
||||
- 'Event Threat Detection Settings Effective Custom Modules Get': 'projects_event-threat-detection-settings-effective-custom-modules-get.md'
|
||||
- 'Event Threat Detection Settings Effective Custom Modules List': 'projects_event-threat-detection-settings-effective-custom-modules-list.md'
|
||||
- 'Event Threat Detection Settings Validate Custom Module': 'projects_event-threat-detection-settings-validate-custom-module.md'
|
||||
- 'Findings Bulk Mute': 'projects_findings-bulk-mute.md'
|
||||
- 'Locations Mute Configs Delete': 'projects_locations-mute-configs-delete.md'
|
||||
- 'Locations Mute Configs Get': 'projects_locations-mute-configs-get.md'
|
||||
- 'Locations Mute Configs Patch': 'projects_locations-mute-configs-patch.md'
|
||||
- 'Mute Configs Create': 'projects_mute-configs-create.md'
|
||||
- 'Mute Configs Delete': 'projects_mute-configs-delete.md'
|
||||
- 'Mute Configs Get': 'projects_mute-configs-get.md'
|
||||
- 'Mute Configs List': 'projects_mute-configs-list.md'
|
||||
- 'Mute Configs Patch': 'projects_mute-configs-patch.md'
|
||||
- 'Notification Configs Create': 'projects_notification-configs-create.md'
|
||||
- 'Notification Configs Delete': 'projects_notification-configs-delete.md'
|
||||
- 'Notification Configs Get': 'projects_notification-configs-get.md'
|
||||
- 'Notification Configs List': 'projects_notification-configs-list.md'
|
||||
- 'Notification Configs Patch': 'projects_notification-configs-patch.md'
|
||||
- 'Security Health Analytics Settings Custom Modules Create': 'projects_security-health-analytics-settings-custom-modules-create.md'
|
||||
- 'Security Health Analytics Settings Custom Modules Delete': 'projects_security-health-analytics-settings-custom-modules-delete.md'
|
||||
- 'Security Health Analytics Settings Custom Modules Get': 'projects_security-health-analytics-settings-custom-modules-get.md'
|
||||
- 'Security Health Analytics Settings Custom Modules List': 'projects_security-health-analytics-settings-custom-modules-list.md'
|
||||
- 'Security Health Analytics Settings Custom Modules List Descendant': 'projects_security-health-analytics-settings-custom-modules-list-descendant.md'
|
||||
- 'Security Health Analytics Settings Custom Modules Patch': 'projects_security-health-analytics-settings-custom-modules-patch.md'
|
||||
- 'Security Health Analytics Settings Custom Modules Simulate': 'projects_security-health-analytics-settings-custom-modules-simulate.md'
|
||||
- 'Security Health Analytics Settings Effective Custom Modules Get': 'projects_security-health-analytics-settings-effective-custom-modules-get.md'
|
||||
- 'Security Health Analytics Settings Effective Custom Modules List': 'projects_security-health-analytics-settings-effective-custom-modules-list.md'
|
||||
- 'Sources Findings External Systems Patch': 'projects_sources-findings-external-systems-patch.md'
|
||||
- 'Sources Findings Group': 'projects_sources-findings-group.md'
|
||||
- 'Sources Findings List': 'projects_sources-findings-list.md'
|
||||
- 'Sources Findings Patch': 'projects_sources-findings-patch.md'
|
||||
- 'Sources Findings Set Mute': 'projects_sources-findings-set-mute.md'
|
||||
- 'Sources Findings Set State': 'projects_sources-findings-set-state.md'
|
||||
- 'Sources Findings Update Security Marks': 'projects_sources-findings-update-security-marks.md'
|
||||
- 'Sources List': 'projects_sources-list.md'
|
||||
|
||||
theme: readthedocs
|
||||
|
||||
copyright: Copyright © 2015-2020, `Sebastian Thiel`
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user