anchorectl subscription

Subscription related operations.

Every command on this page also accepts the global flags.

Subcommands

subscription activate

Activate an existing subscription.

anchorectl subscription activate KEY TYPE [flags]

Arguments

ArgumentDescription
KEYThe subscription key.
TYPEThe 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

FlagTypeEnvironment variableDefaultRequiredDescription
-o, --outputstringANCHORECTL_FORMATtextNoThe 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

ArgumentDescription
KEYThe subscription key.
TYPEThe type of the subscription (e.g. tag_update, policy_eval, vuln_update, analysis_update, runtime_inventory).

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
-o, --outputstringANCHORECTL_FORMATtextNoThe 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

ArgumentDescription
KEYThe subscription key.
TYPEThe type of the subscription (e.g. tag_update, policy_eval, vuln_update, analysis_update).

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
-o, --outputstringANCHORECTL_FORMATtextNoThe 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

ArgumentDescription
KEYThe subscription key.
TYPEThe type of the subscription (e.g. tag_update, policy_eval, vuln_update, analysis_update).

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
-o, --outputstringANCHORECTL_FORMATtextNoThe 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

FlagTypeEnvironment variableDefaultRequiredDescription
-k, --keystringANCHORECTL_SUBSCRIPTION_KEY""NoFilter only subscriptions matching key.
-o, --outputstringANCHORECTL_FORMATtextNoThe format to show the results. Allowable values: text, json, json-raw, id. See Output Formats.
-t, --typestringANCHORECTL_SUBSCRIPTION_TYPE""NoFilter only subscriptions matching type.
Last modified September 22, 2026