@robinmordasiewicz/f5xc-xcsh 6.28.0 → 6.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/completions/_xcsh +60 -39
- package/completions/xcsh.bash +9 -9
- package/completions/xcsh.fish +416 -435
- package/dist/index.js +1119 -1895
- package/package.json +4 -2
package/completions/_xcsh
CHANGED
|
@@ -26,48 +26,50 @@ _xcsh() {
|
|
|
26
26
|
(domain)
|
|
27
27
|
local -a domains builtins
|
|
28
28
|
domains=(
|
|
29
|
-
'admin_console_and_ui:
|
|
30
|
-
'api:
|
|
29
|
+
'admin_console_and_ui:Manage static UI assets for admin console'
|
|
30
|
+
'api:Discover, catalog, and test service interfaces'
|
|
31
31
|
'authentication:Authentication API'
|
|
32
|
-
'bigip:
|
|
33
|
-
'billing_and_usage:
|
|
34
|
-
'blindfold:
|
|
35
|
-
'bot_and_threat_defense:
|
|
36
|
-
'cdn:Configure
|
|
37
|
-
'ce_management:Customer Edge
|
|
38
|
-
'certificates:SSL/TLS certificate and trusted
|
|
39
|
-
'cloud_infrastructure:
|
|
32
|
+
'bigip:Manage iRules, data groups, and virtual servers'
|
|
33
|
+
'billing_and_usage:Manage subscription plans and payment methods'
|
|
34
|
+
'blindfold:Manage secret encryption and policy rules'
|
|
35
|
+
'bot_and_threat_defense:Configure bot protection and threat categories'
|
|
36
|
+
'cdn:Configure caching rules and load balancers'
|
|
37
|
+
'ce_management:Manage Customer Edge sites and network interfaces'
|
|
38
|
+
'certificates:Manage SSL/TLS certificate chains and trusted CAs'
|
|
39
|
+
'cloud_infrastructure:Connect and manage multi-cloud providers'
|
|
40
40
|
'cloudstatus:F5 XC service status and incidents'
|
|
41
41
|
'completion:Shell completion script generation'
|
|
42
|
-
'container_services:
|
|
43
|
-
'data_and_privacy_security:
|
|
42
|
+
'container_services:Deploy containerized workloads across sites'
|
|
43
|
+
'data_and_privacy_security:Configure sensitive data detection and privacy policies'
|
|
44
44
|
'data_intelligence:Data Intelligence API'
|
|
45
|
-
'ddos:
|
|
46
|
-
'dns:Manage zones, records, and
|
|
47
|
-
'generative_ai:AI
|
|
45
|
+
'ddos:Configure blocking policies and tunnel protection'
|
|
46
|
+
'dns:Manage zones, records, and load balancing'
|
|
47
|
+
'generative_ai:Access AI assistant queries and feedback'
|
|
48
48
|
'login:Authentication and session management'
|
|
49
|
-
'managed_kubernetes:Kubernetes RBAC
|
|
50
|
-
'marketplace:
|
|
51
|
-
'network:BGP routing,
|
|
52
|
-
'network_security:
|
|
53
|
-
'nginx_one:NGINX
|
|
54
|
-
'object_storage:
|
|
55
|
-
'observability:
|
|
56
|
-
'rate_limiting:
|
|
57
|
-
'secops_and_incident_response:
|
|
58
|
-
'service_mesh:
|
|
59
|
-
'shape:
|
|
60
|
-
'sites:
|
|
61
|
-
'statistics:
|
|
62
|
-
'
|
|
63
|
-
'support:Customer support ticket lifecycle and site diagnostics'
|
|
49
|
+
'managed_kubernetes:Configure Kubernetes RBAC and pod security policies'
|
|
50
|
+
'marketplace:Manage third-party integrations and add-ons'
|
|
51
|
+
'network:Configure BGP routing, tunnels, and connectivity'
|
|
52
|
+
'network_security:Configure firewalls, NAT, and routing policies'
|
|
53
|
+
'nginx_one:Configure NGINX proxy instances and deployments'
|
|
54
|
+
'object_storage:Manage stored objects and bucket versioning'
|
|
55
|
+
'observability:Configure synthetic monitors and health checks'
|
|
56
|
+
'rate_limiting:Configure traffic throttling and policer rules'
|
|
57
|
+
'secops_and_incident_response:Configure automated threat mitigation rules'
|
|
58
|
+
'service_mesh:Configure application types and discovery'
|
|
59
|
+
'shape:Configure bot defense and threat prevention'
|
|
60
|
+
'sites:Deploy and manage edge infrastructure'
|
|
61
|
+
'statistics:Monitor alerts, logs, and flow analytics'
|
|
62
|
+
'support:Create and track customer tickets'
|
|
64
63
|
'telemetry_and_insights:Telemetry And Insights API'
|
|
65
|
-
'tenant_and_identity:
|
|
64
|
+
'tenant_and_identity:Manage user profiles and session controls'
|
|
66
65
|
'threat_campaign:Threat Campaign API'
|
|
67
|
-
'users:
|
|
68
|
-
'virtual:Configure
|
|
66
|
+
'users:Manage account tokens and label settings'
|
|
67
|
+
'virtual:Configure load balancers and origin pools'
|
|
69
68
|
'vpm_and_node_management:Vpm And Node Management API'
|
|
70
|
-
'waf:Configure
|
|
69
|
+
'waf:Configure application firewall rules and bot protection'
|
|
70
|
+
'console-ui:Alias for admin_console_and_ui'
|
|
71
|
+
'ui-assets:Alias for admin_console_and_ui'
|
|
72
|
+
'static-components:Alias for admin_console_and_ui'
|
|
71
73
|
'apisec:Alias for api'
|
|
72
74
|
'api-discovery:Alias for api'
|
|
73
75
|
'authn:Alias for authentication'
|
|
@@ -76,11 +78,20 @@ _xcsh() {
|
|
|
76
78
|
'f5-bigip:Alias for bigip'
|
|
77
79
|
'irule:Alias for bigip'
|
|
78
80
|
'ltm:Alias for bigip'
|
|
81
|
+
'billing-usage:Alias for billing_and_usage'
|
|
82
|
+
'quotas:Alias for billing_and_usage'
|
|
83
|
+
'usage-tracking:Alias for billing_and_usage'
|
|
79
84
|
'bf:Alias for blindfold'
|
|
80
85
|
'encrypt:Alias for blindfold'
|
|
81
86
|
'secrets:Alias for blindfold'
|
|
87
|
+
'threat-defense:Alias for bot_and_threat_defense'
|
|
88
|
+
'tpm:Alias for bot_and_threat_defense'
|
|
89
|
+
'shape-bot:Alias for bot_and_threat_defense'
|
|
82
90
|
'cache:Alias for cdn'
|
|
83
91
|
'content:Alias for cdn'
|
|
92
|
+
'ce-mgmt:Alias for ce_management'
|
|
93
|
+
'edge-management:Alias for ce_management'
|
|
94
|
+
'ce-lifecycle:Alias for ce_management'
|
|
84
95
|
'cert:Alias for certificates'
|
|
85
96
|
'certs:Alias for certificates'
|
|
86
97
|
'ssl:Alias for certificates'
|
|
@@ -91,6 +102,10 @@ _xcsh() {
|
|
|
91
102
|
'vk8s:Alias for container_services'
|
|
92
103
|
'containers:Alias for container_services'
|
|
93
104
|
'workloads:Alias for container_services'
|
|
105
|
+
'data-privacy:Alias for data_and_privacy_security'
|
|
106
|
+
'pii:Alias for data_and_privacy_security'
|
|
107
|
+
'sensitive-data:Alias for data_and_privacy_security'
|
|
108
|
+
'lma:Alias for data_and_privacy_security'
|
|
94
109
|
'di:Alias for data_intelligence'
|
|
95
110
|
'intelligence:Alias for data_intelligence'
|
|
96
111
|
'insights:Alias for data_intelligence'
|
|
@@ -124,6 +139,9 @@ _xcsh() {
|
|
|
124
139
|
'ratelimit:Alias for rate_limiting'
|
|
125
140
|
'throttle:Alias for rate_limiting'
|
|
126
141
|
'policer:Alias for rate_limiting'
|
|
142
|
+
'secops:Alias for secops_and_incident_response'
|
|
143
|
+
'incident-response:Alias for secops_and_incident_response'
|
|
144
|
+
'mitigation:Alias for secops_and_incident_response'
|
|
127
145
|
'mesh:Alias for service_mesh'
|
|
128
146
|
'svc-mesh:Alias for service_mesh'
|
|
129
147
|
'shape-sec:Alias for shape'
|
|
@@ -137,6 +155,9 @@ _xcsh() {
|
|
|
137
155
|
'help-desk:Alias for support'
|
|
138
156
|
'telemetry:Alias for telemetry_and_insights'
|
|
139
157
|
'ti:Alias for telemetry_and_insights'
|
|
158
|
+
'tenant-identity:Alias for tenant_and_identity'
|
|
159
|
+
'idm:Alias for tenant_and_identity'
|
|
160
|
+
'user-settings:Alias for tenant_and_identity'
|
|
140
161
|
'threats:Alias for threat_campaign'
|
|
141
162
|
'campaigns:Alias for threat_campaign'
|
|
142
163
|
'threat-intel:Alias for threat_campaign'
|
|
@@ -166,14 +187,14 @@ _xcsh() {
|
|
|
166
187
|
;;
|
|
167
188
|
(action)
|
|
168
189
|
case ${line[1]} in
|
|
169
|
-
(login)
|
|
170
|
-
_values 'command' 'banner:Command' 'profile:Subcommand group' 'context:Subcommand group'
|
|
171
|
-
;;
|
|
172
190
|
(cloudstatus)
|
|
173
|
-
_values 'command' 'status:
|
|
191
|
+
_values 'command' 'status:Get overall cloud status indicator' 'summary:Get complete status summary' 'components:List all components and status' 'incidents:List active and recent incidents' 'maintenance:List scheduled maintenance windows'
|
|
174
192
|
;;
|
|
175
193
|
(completion)
|
|
176
|
-
_values 'command' 'bash:
|
|
194
|
+
_values 'command' 'bash:Generate bash completion script' 'zsh:Generate zsh completion script' 'fish:Generate fish completion script'
|
|
195
|
+
;;
|
|
196
|
+
(login)
|
|
197
|
+
_values 'command' 'banner:Display xcsh banner with logo' 'profile:Manage saved connection profiles' 'context:Manage default namespace context'
|
|
177
198
|
;;
|
|
178
199
|
(help|quit|exit|clear|history|context|ctx)
|
|
179
200
|
;;
|
package/completions/xcsh.bash
CHANGED
|
@@ -6,7 +6,7 @@ _xcsh_completions() {
|
|
|
6
6
|
local cur prev words cword
|
|
7
7
|
_init_completion || return
|
|
8
8
|
|
|
9
|
-
local commands="admin_console_and_ui api authentication bigip billing_and_usage blindfold bot_and_threat_defense cdn ce_management certificates cloud_infrastructure cloudstatus completion container_services data_and_privacy_security data_intelligence ddos dns generative_ai login managed_kubernetes marketplace network network_security nginx_one object_storage observability rate_limiting secops_and_incident_response service_mesh shape sites statistics
|
|
9
|
+
local commands="admin_console_and_ui api authentication bigip billing_and_usage blindfold bot_and_threat_defense cdn ce_management certificates cloud_infrastructure cloudstatus completion container_services data_and_privacy_security data_intelligence ddos dns generative_ai login managed_kubernetes marketplace network network_security nginx_one object_storage observability rate_limiting secops_and_incident_response service_mesh shape sites statistics support telemetry_and_insights tenant_and_identity threat_campaign users virtual vpm_and_node_management waf console-ui ui-assets static-components apisec api-discovery authn oidc sso f5-bigip irule ltm billing-usage quotas usage-tracking bf encrypt secrets threat-defense tpm shape-bot cache content ce-mgmt edge-management ce-lifecycle cert certs ssl tls cloud infra provider vk8s containers workloads data-privacy pii sensitive-data lma di intelligence insights dos ddos-protect dns-zone zones ai genai assistant mk8s appstack k8s-mgmt market addons extensions net routing bgp netsec nfw nginx nms nginx-plus storage s3 buckets obs monitoring synth ratelimit throttle policer secops incident-response mitigation mesh svc-mesh shape-sec safeap site deployment stats metrics logs tickets help-desk telemetry ti tenant-identity idm user-settings threats campaigns threat-intel user accounts iam lb loadbalancer vhost vpm nodes node-mgmt firewall appfw help quit exit clear history"
|
|
10
10
|
local actions="list get create delete replace apply status patch add-labels remove-labels"
|
|
11
11
|
local builtins="help quit exit clear history context ctx"
|
|
12
12
|
local global_flags="--help -h --version -v --interactive -i --no-color --output -o --namespace -ns"
|
|
@@ -26,6 +26,14 @@ _xcsh_completions() {
|
|
|
26
26
|
# Second word: actions or subcommands based on first word
|
|
27
27
|
local domain="${words[1]}"
|
|
28
28
|
case "${domain}" in
|
|
29
|
+
cloudstatus)
|
|
30
|
+
COMPREPLY=($(compgen -W "status summary components incidents maintenance" -- "${cur}"))
|
|
31
|
+
return 0
|
|
32
|
+
;;
|
|
33
|
+
completion)
|
|
34
|
+
COMPREPLY=($(compgen -W "bash zsh fish" -- "${cur}"))
|
|
35
|
+
return 0
|
|
36
|
+
;;
|
|
29
37
|
login)
|
|
30
38
|
COMPREPLY=($(compgen -W "banner profile context" -- "${cur}"))
|
|
31
39
|
return 0
|
|
@@ -38,14 +46,6 @@ _xcsh_completions() {
|
|
|
38
46
|
COMPREPLY=($(compgen -W "show set list" -- "${cur}"))
|
|
39
47
|
return 0
|
|
40
48
|
;;
|
|
41
|
-
cloudstatus)
|
|
42
|
-
COMPREPLY=($(compgen -W "status summary components incidents maintenance" -- "${cur}"))
|
|
43
|
-
return 0
|
|
44
|
-
;;
|
|
45
|
-
completion)
|
|
46
|
-
COMPREPLY=($(compgen -W "bash zsh fish" -- "${cur}"))
|
|
47
|
-
return 0
|
|
48
|
-
;;
|
|
49
49
|
help | quit | exit | clear | history | context | ctx)
|
|
50
50
|
return 0
|
|
51
51
|
;;
|