anchorectl subscription
Subscription related operations.
Every command on this page also accepts the global flags.
Subcommands
- subscription activate — Activate an existing subscription
- subscription deactivate — Deactivate an existing subscription
- subscription delete — Delete a subscription
- subscription get — Get a specific subscription
- subscription list — List all subscriptions
subscription activate
Activate an existing subscription.
anchorectl subscription activate KEY TYPE [flags]
Arguments
| Argument | Description |
|---|---|
KEY | The subscription key. |
TYPE | The type of the subscription (e.g. tag_update, policy_eval, vuln_update, analysis_update, runtime_inventory). |
Examples
anchorectl subscription activate registry.example.com/my-service:1.4.0 tag_update
Flags
| Flag | Type | Environment variable | Default | Required | Description |
|---|---|---|---|---|---|
-o, --output | string | ANCHORECTL_FORMAT | text | No | The format to show the results. Allowable values: text, json, json-raw, id. See Output Formats. |
subscription deactivate
Deactivate an existing subscription.
anchorectl subscription deactivate KEY TYPE [flags]
Arguments
| Argument | Description |
|---|---|
KEY | The subscription key. |
TYPE | The type of the subscription (e.g. tag_update, policy_eval, vuln_update, analysis_update, runtime_inventory). |
Flags
| Flag | Type | Environment variable | Default | Required | Description |
|---|---|---|---|---|---|
-o, --output | string | ANCHORECTL_FORMAT | text | No | The format to show the results. Allowable values: text, json, json-raw, id. See Output Formats. |
subscription delete
Delete a subscription.
anchorectl subscription delete KEY TYPE [flags]
Aliases: del
Arguments
| Argument | Description |
|---|---|
KEY | The subscription key. |
TYPE | The type of the subscription (e.g. tag_update, policy_eval, vuln_update, analysis_update). |
Flags
| Flag | Type | Environment variable | Default | Required | Description |
|---|---|---|---|---|---|
-o, --output | string | ANCHORECTL_FORMAT | text | No | The format to show the results. Allowable values: text, json, json-raw, id. See Output Formats. |
subscription get
Get a specific subscription.
anchorectl subscription get KEY TYPE [flags]
Arguments
| Argument | Description |
|---|---|
KEY | The subscription key. |
TYPE | The type of the subscription (e.g. tag_update, policy_eval, vuln_update, analysis_update). |
Flags
| Flag | Type | Environment variable | Default | Required | Description |
|---|---|---|---|---|---|
-o, --output | string | ANCHORECTL_FORMAT | text | No | The format to show the results. Allowable values: text, json, json-raw, id. See Output Formats. |
subscription list
List all subscriptions.
anchorectl subscription list [flags]
Flags
| Flag | Type | Environment variable | Default | Required | Description |
|---|---|---|---|---|---|
-k, --key | string | ANCHORECTL_SUBSCRIPTION_KEY | "" | No | Filter only subscriptions matching key. |
-o, --output | string | ANCHORECTL_FORMAT | text | No | The format to show the results. Allowable values: text, json, json-raw, id. See Output Formats. |
-t, --type | string | ANCHORECTL_SUBSCRIPTION_TYPE | "" | No | Filter only subscriptions matching type. |