@huaweidevtools/aishell-dsh-deploy 0.0.0-stage → 0.0.1-beta.4
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/LICENSE +201 -0
- package/README.md +164 -2
- package/cordis.patch.yml +15 -0
- package/lib/data/permission-registry.json +1 -0
- package/lib/data/terraform-examples.zip +0 -0
- package/lib/index.js +4796 -0
- package/lib/types/auth-http.d.ts +44 -0
- package/lib/types/auth-obs-signer.d.ts +46 -0
- package/lib/types/auth-signer.d.ts +46 -0
- package/lib/types/bridge.d.ts +70 -0
- package/lib/types/credentials.d.ts +105 -0
- package/lib/types/data-paths.d.ts +70 -0
- package/lib/types/deployment-state.d.ts +69 -0
- package/lib/types/gates/cost_gate.d.ts +24 -0
- package/lib/types/gates/credential_gate.d.ts +21 -0
- package/lib/types/gates/mirror.d.ts +27 -0
- package/lib/types/gates/networking_gate.d.ts +9 -0
- package/lib/types/gates/terraform_env.d.ts +26 -0
- package/lib/types/index.d.ts +96 -0
- package/lib/types/permission/gate.d.ts +87 -0
- package/lib/types/permission/mode.d.ts +69 -0
- package/lib/types/permission/registry.d.ts +109 -0
- package/lib/types/permission-context.d.ts +84 -0
- package/lib/types/permission-route.d.ts +78 -0
- package/lib/types/permission.d.ts +37 -0
- package/lib/types/prompt.d.ts +59 -0
- package/lib/types/schemas/cost.d.ts +108 -0
- package/lib/types/schemas/networking.d.ts +115 -0
- package/lib/types/security-groups.d.ts +43 -0
- package/lib/types/tools/annotations.d.ts +94 -0
- package/lib/types/tools/balance_summary.d.ts +69 -0
- package/lib/types/tools/cost.d.ts +16 -0
- package/lib/types/tools/deployment.d.ts +14 -0
- package/lib/types/tools/errors.d.ts +40 -0
- package/lib/types/tools/examples.d.ts +4 -0
- package/lib/types/tools/existing_resources.d.ts +29 -0
- package/lib/types/tools/index.d.ts +32 -0
- package/lib/types/tools/networking.d.ts +13 -0
- package/lib/types/tools/openapi.d.ts +113 -0
- package/lib/types/tools/provider_schema.d.ts +19 -0
- package/lib/types/tools/terraform.d.ts +32 -0
- package/lib/types/types.d.ts +84 -0
- package/lib/types/utils/hash.d.ts +11 -0
- package/lib/types/utils/tar.d.ts +29 -0
- package/lib/types/version.d.ts +18 -0
- package/package.json +59 -3
package/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined in Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is derived from (or based upon) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2026 Huawei Cloud AI Shell
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
200
|
+
implied. See the License for the specific language governing
|
|
201
|
+
permissions and limitations under the License.
|
package/README.md
CHANGED
|
@@ -1,3 +1,165 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @huaweidevtools/aishell-dsh-deploy
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Huawei Cloud infrastructure tools for DSH. The agent can design a deployment,
|
|
4
|
+
price it, write the Terraform, and run it — with a read-only switch and a
|
|
5
|
+
credential model that neither the model nor a tool call can bypass.
|
|
6
|
+
|
|
7
|
+
## What you get
|
|
8
|
+
|
|
9
|
+
17 tools, registered as `aishell__<name>`:
|
|
10
|
+
|
|
11
|
+
| Group | Tools | What they do |
|
|
12
|
+
|---|---|---|
|
|
13
|
+
| Deployment workspace | `create_deployment`, `delete_deployment` | Create or remove a workspace directory; deletion is refused while cloud resources are recorded |
|
|
14
|
+
| Design | `update_networking`, `update_cost` | Write the networking contract and the cost estimate, validating cross-file references |
|
|
15
|
+
| Huawei Cloud | `apiexplorer`, `openapi_request`, `list_existing_resources`, `terraform_examples_export` | Look up API definitions, call any signed API, inventory what already exists, export `.tf` examples |
|
|
16
|
+
| Terraform | `provider_schema`, `terraform_install`, `terraform_init`, `terraform_plan`, `terraform_apply`, `terraform_destroy`, `terraform_refresh`, `terraform_state`, `terraform_import` | The full lifecycle, with credential scanning, cost and networking gates before anything runs |
|
|
17
|
+
|
|
18
|
+
`auth` is not here. It lives in `aishell-credentials`, which owns the AK/SK form
|
|
19
|
+
and the store, and registers `aishell__auth` to verify the stored pair and
|
|
20
|
+
report the account and its projects.
|
|
21
|
+
|
|
22
|
+
The prefix exists because this plugin is not the only source of cloud tools in a
|
|
23
|
+
deployment. A bare `terraform_apply` in a shared namespace is one collision away
|
|
24
|
+
from calling someone else's tool.
|
|
25
|
+
|
|
26
|
+
## How it fits together
|
|
27
|
+
|
|
28
|
+
```
|
|
29
|
+
apply()
|
|
30
|
+
→ opens one credentials store (the aishell-dsh-plugins keyring this whole set shares)
|
|
31
|
+
→ registers the 17 tools on ctx.tools
|
|
32
|
+
→ registers one Host route for the permission switch
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
A tool call runs in this process. There is no child process, no transport, and
|
|
36
|
+
no second credential store — so a credential rotated in the form applies to the
|
|
37
|
+
very next call, and a cleared one stops working immediately.
|
|
38
|
+
|
|
39
|
+
## Credentials
|
|
40
|
+
|
|
41
|
+
Nothing is collected through a tool call. `aishell-credentials` owns the AK/SK,
|
|
42
|
+
the form that collects them, and the store; this plugin only reads, through
|
|
43
|
+
`credentials-store/accounts` — the same account names and pairing rule
|
|
44
|
+
`aishell-llm` and `aishell-e2b` use.
|
|
45
|
+
|
|
46
|
+
Mounted without that package, the tools still register, and every call fails
|
|
47
|
+
with "not authenticated" until credentials exist in the store. There is nothing
|
|
48
|
+
to reload and nothing to restart.
|
|
49
|
+
|
|
50
|
+
## Read-only mode
|
|
51
|
+
|
|
52
|
+
The switch is process state, read and written directly by
|
|
53
|
+
`api/aishell/permission`. A switch takes effect before the next tool call
|
|
54
|
+
starts, not after the one already running.
|
|
55
|
+
|
|
56
|
+
It is enforced in two places, because the tools reach the cloud two ways:
|
|
57
|
+
|
|
58
|
+
- **The signed-HTTP funnel.** Every API call goes through one client, so
|
|
59
|
+
`openapi_request`'s arbitrary method and URL are covered without each tool
|
|
60
|
+
having to remember to ask. `GET` and `HEAD` are queries; anything else is
|
|
61
|
+
looked up in a table of known read operations, and an unknown one is denied.
|
|
62
|
+
- **The tool registry.** `terraform_apply` and `terraform_destroy` never touch
|
|
63
|
+
the HTTP client, so they are refused by name.
|
|
64
|
+
|
|
65
|
+
The mode is out-of-band: it appears in no tool description, no tool result, and
|
|
66
|
+
nothing in the model's context can change it. While read-only, the model gets a
|
|
67
|
+
prompt context explaining the posture, so it works as a reviewer — producing the
|
|
68
|
+
plan and the exact commands — rather than stopping early.
|
|
69
|
+
|
|
70
|
+
## Config
|
|
71
|
+
|
|
72
|
+
| Field | Type | Default | Description |
|
|
73
|
+
|---|---|---|---|
|
|
74
|
+
| `defaultRegion` | `string?` | `cn-north-4` | Region every signed request and terraform run uses. |
|
|
75
|
+
| `toolCallTimeoutMs` | `number?` | `60000` | Per-call budget. A real `terraform_apply` runs for minutes. |
|
|
76
|
+
|
|
77
|
+
The region is not verified — see below.
|
|
78
|
+
|
|
79
|
+
### Why the region is not verified
|
|
80
|
+
|
|
81
|
+
IAM is a global service. The region in a verification URL only routes to a
|
|
82
|
+
regional replica; it does not scope the result. A wrong region still answers 200
|
|
83
|
+
with the same account, and the mismatch surfaces at the first region-scoped
|
|
84
|
+
call. Conflating the two would report "invalid credentials" for a typo'd region
|
|
85
|
+
setting and send the reader to check the wrong thing.
|
|
86
|
+
|
|
87
|
+
## The data files
|
|
88
|
+
|
|
89
|
+
Two artifacts ship beside the bundle and are read at call time:
|
|
90
|
+
|
|
91
|
+
| File | Source | In the repository? |
|
|
92
|
+
|---|---|---|
|
|
93
|
+
| `permission-registry.json` | Committed | yes |
|
|
94
|
+
| `terraform-examples.zip` | `pnpm run fetch-examples` | no |
|
|
95
|
+
|
|
96
|
+
- `permission-registry.json` — the table that decides whether an arbitrary URL
|
|
97
|
+
is a query. Without it, read-only mode refuses every non-`GET`, which is the
|
|
98
|
+
safe direction.
|
|
99
|
+
- `terraform-examples.zip` — the `examples/` tree of the official
|
|
100
|
+
`terraform-provider-huaweicloud` repository, which
|
|
101
|
+
`aishell__terraform_examples_export` unpacks for the model to read.
|
|
102
|
+
|
|
103
|
+
Both land in `lib/data/` at build time, which is where `src/data-paths.ts` looks.
|
|
104
|
+
They are deliberately not resolved from the working directory — a workspace file
|
|
105
|
+
must not be able to choose what this plugin considers read-only.
|
|
106
|
+
|
|
107
|
+
### Fetching the examples
|
|
108
|
+
|
|
109
|
+
The archive is derived from a public repository, so it is fetched rather than
|
|
110
|
+
committed: a committed copy looks current forever, and 1650 files nobody edits
|
|
111
|
+
would be rewritten by every refresh.
|
|
112
|
+
|
|
113
|
+
```sh
|
|
114
|
+
pnpm run fetch-examples
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
That clones only the provider's `examples/` directory — a blobless sparse
|
|
118
|
+
checkout — and packs it. It tries the GitCode mirror first and GitHub second;
|
|
119
|
+
the mirror exists because the primary host is often unreachable from mainland
|
|
120
|
+
networks.
|
|
121
|
+
|
|
122
|
+
Run it once after cloning, and again whenever the provider's examples should be
|
|
123
|
+
refreshed. `build:bundle` refuses to run without the archive and names this
|
|
124
|
+
command, so a missing file cannot produce a package that builds clean and fails
|
|
125
|
+
on its first call.
|
|
126
|
+
|
|
127
|
+
## Layout
|
|
128
|
+
|
|
129
|
+
```
|
|
130
|
+
src/
|
|
131
|
+
index.ts entry: tools, permission route, credential source
|
|
132
|
+
bridge.ts tool declaration → DSH tool definition
|
|
133
|
+
types.ts the tool ↔ harness contract
|
|
134
|
+
credentials.ts store read + account identity
|
|
135
|
+
permission.ts the wire vocabulary the browser sends
|
|
136
|
+
permission/
|
|
137
|
+
mode.ts the switch
|
|
138
|
+
gate.ts enforcement
|
|
139
|
+
registry.ts the query table
|
|
140
|
+
permission-route.ts the Host route the chip calls
|
|
141
|
+
permission-context.ts the read-only prompt context
|
|
142
|
+
tools/ the 17 tools
|
|
143
|
+
gates/ pre-run safety gates (cost, credential, networking, env)
|
|
144
|
+
schemas/ networking and cost schemas
|
|
145
|
+
auth-*.ts request signing and the signed HTTP client
|
|
146
|
+
utils/ zip extraction, hashing
|
|
147
|
+
data/ shipped artifacts
|
|
148
|
+
data-paths.ts where those artifacts live at runtime
|
|
149
|
+
version.ts the version a deployment snapshot records
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
## Install
|
|
153
|
+
|
|
154
|
+
```sh
|
|
155
|
+
# Standalone: reads the store but has no form to write it,
|
|
156
|
+
# so mount aishell-credentials alongside.
|
|
157
|
+
dsh plugin --profile <name> add @huaweidevtools/aishell-dsh-deploy
|
|
158
|
+
|
|
159
|
+
# Or the full set:
|
|
160
|
+
dsh plugin --profile <name> add @huaweidevtools/aishell-dsh-base
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
## License
|
|
164
|
+
|
|
165
|
+
Apache License 2.0.
|
package/cordis.patch.yml
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# aishell-deploy bundle patch: mounts the Huawei Cloud tools.
|
|
2
|
+
#
|
|
3
|
+
# The row carries no `config`: the defaults (region cn-north-4, 60 s per call,
|
|
4
|
+
# the shared `aishell-dsh` credential store) are what a deployment wants, and
|
|
5
|
+
# the settings surface is where they are changed.
|
|
6
|
+
#
|
|
7
|
+
# This plugin registers tools on `ctx.tools` and one Host route on
|
|
8
|
+
# `ctx.connection.fetch` (`api/aishell/permission`). It spawns nothing.
|
|
9
|
+
#
|
|
10
|
+
# Mount `aishell-credentials` alongside it: that package owns the AK/SK form
|
|
11
|
+
# and the `aishell__auth` tool. Without it this plugin still registers its
|
|
12
|
+
# tools, but every call fails with "not authenticated" until credentials exist.
|
|
13
|
+
- insert:
|
|
14
|
+
- id: aishell-deploy
|
|
15
|
+
name: '@huaweidevtools/aishell-dsh-deploy'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":1,"source":"hcloud CLI APIExplorer metadata (~/.hcloud/metaOrigin/template)","note":"Read-only allow-list: method -> host-label -> anchored path regexes for operations classified as queries. GET/HEAD are admitted by method and are not listed. Any non-GET request not matched here is denied. Regenerate with `npm run build-permission-registry`.","methods":{"POST":{"access-analyzer":["^/v5/analyzers/[^/]+?/access-previews/[^/]+?/findings$","^/v5/policies/check-no-new-access$","^/v5/policies/validate$"],"aom":["^/v1/[^/]+?/als/action$","^/v1/[^/]+?/ams/metricdata$","^/v1/[^/]+?/ams/metrics$","^/v1/[^/]+?/aom/api/v1/labels$","^/v1/[^/]+?/aom/api/v1/query$","^/v1/[^/]+?/aom/api/v1/query_range$","^/v1/resource/[^/]+?/type/[^/]+?/ci-relationships$","^/v2/[^/]+?/events$","^/v2/[^/]+?/events/statistic$","^/v2/[^/]+?/samples$","^/v2/[^/]+?/series$"],"api":["^/v1/usg/abs/users/list$","^/v1/usg/acs/ap/userstatus$","^/v1/usg/acs/token/validate$","^/v1/usg/dcs/member/verification-code$","^/v1/usg/dcs/member/verification-code/verify$","^/v1/usg/sss/meeting-files/open-meeting-file-list$"],"apig":["^/[^/]+?/apigw/instances/[^/]+?/api-groups/check$","^/[^/]+?/apigw/instances/[^/]+?/apis/check$","^/[^/]+?/apigw/instances/[^/]+?/openapi/async-export$","^/[^/]+?/apigw/instances/[^/]+?/openapi/export$","^/[^/]+?/apigw/resource-instances/count$","^/[^/]+?/apigw/resource-instances/filter$"],"apm2":["^/v1/apm2/openapi/alarm/data/get-alarm-data-list$","^/v1/apm2/openapi/alarm/data/get-alarm-notify-list$","^/v1/apm2/openapi/apm-service/agent-mgr/search$","^/v1/apm2/openapi/apm-service/app-mgr/search$","^/v1/apm2/openapi/apm-service/monitor-item-mgr/get-env-monitor-item-list$","^/v1/apm2/openapi/cmdb/tag/get-env-tag-list$","^/v1/apm2/openapi/topology/business-search$","^/v1/apm2/openapi/topology/env-search$","^/v1/apm2/openapi/tracing/access/get-access-point/[^/]+?$","^/v1/apm2/openapi/transaction/business-env$","^/v1/apm2/openapi/transaction/detail$","^/v1/apm2/openapi/transaction/search$","^/v1/apm2/openapi/transaction/transaction-config-search$","^/v1/apm2/openapi/view/mainview/get-env-instance-list$","^/v1/apm2/openapi/view/metric/get-clob-detail$","^/v1/apm2/openapi/view/metric/raw-table$","^/v1/apm2/openapi/view/metric/sum-table$","^/v1/apm2/openapi/view/metric/trend$","^/v1/apm2/openapi/view/profiling/flame-line-tree$","^/v1/apm2/openapi/view/trace/span-search$"],"appcube-external":["^/rest/astro-zero/v1\\.0/service/queryTenant$"],"artifact":["^/cloudartifact/v5/tree/repos/artifacts$","^/devreposerver/v5/files/list$"],"as":["^/autoscaling-api/v1/[^/]+?/[^/]+?/resource_instances/action$"],"bms":["^/v1/[^/]+?/baremetalservers/[^/]+?/remote_console$"],"bss":["^/v2/bills/customer-bills/res-records/query$","^/v2/bills/ratings/on-demand-resources$","^/v2/bills/ratings/period-resources/renew-rate$","^/v2/bills/ratings/period-resources/subscribe-rate$","^/v2/orders/suscriptions/resources/query$","^/v2/partners/indirect-partners/query$","^/v2/partners/sub-customers/budget/query$","^/v2/partners/sub-customers/on-demand-resources/query$","^/v2/partners/sub-customers/query$","^/v2/partners/sub-customers/users/check-identity$","^/v2/payments/free-resources/usages/details/query$","^/v3/payments/free-resources/query$","^/v4/costs/cost-analysed-bills/query$"],"cbh":["^/v1/[^/]+?/cbs/instance/login$","^/v1/[^/]+?/cbs/network/configuration$","^/v2/[^/]+?/cbs/instance/count$","^/v2/[^/]+?/cbs/instance/filter$"],"cbr":["^/v3/[^/]+?/agent/check$","^/v3/[^/]+?/vault/resource_instances/action$"],"cbs-ext":["^/v1/[^/]+?/qabots/[^/]+?/suggestions$"],"cc":["^/v3/[^/]+?/ccaas/bandwidth-packages/filter$","^/v3/[^/]+?/ccaas/cloud-connections/filter$","^/v3/[^/]+?/gcn/central-networks/filter$","^/v3/gcb/resource-instances/count$","^/v3/gcb/resource-instances/filter$"],"ccaas":["^/v3/[^/]+?/ccaas/[^/]+?/resource-instances/action$"],"ccm":["^/v1/private-certificate-authorities/[^/]+?/export$","^/v1/private-certificate-authorities/resource-instances/count$","^/v1/private-certificate-authorities/resource-instances/filter$","^/v1/private-certificates/[^/]+?/export$","^/v1/private-certificates/resource-instances/count$","^/v1/private-certificates/resource-instances/filter$"],"cdn":["^/v1\\.0/cdn/configuration/domains/[^/]+?/verify-owner$","^/v1\\.0/cdn/statistics/stats/export$"],"ces":["^/V1\\.0/[^/]+?/batch-query-metric-data$","^/v2/[^/]+?/batch-query-metric-data$","^/v2/[^/]+?/notification-masks/batch-query$","^/v3/[^/]+?/agent-status/batch-query$"],"cfw":["^/v1/[^/]+?/acl-rule/export$","^/v1/[^/]+?/cfw/[^/]+?/acl-rule/hit-info/batch-query$","^/v1/[^/]+?/cfw/[^/]+?/logs$","^/v1/[^/]+?/cfw/[^/]+?/logs/export$","^/v1/[^/]+?/firewalls/list$","^/v1/[^/]+?/ptf/ip-blacklist/export$"],"cloudbuild-ext":["^/v1/domain/domains-statuses$","^/v1/job/check/webhook-url$","^/v1/record/brief$","^/v1/template/recommend$","^/v2/resource/countdown$"],"clouddc":["^/v1/[^/]+?/physicalservers/[^/]+?/logs/exports$"],"cloudtest-ext":["^/GT3KServer/v4/[^/]+?/iterators/[^/]+?/issues/batch-query$","^/GT3KServer/v4/[^/]+?/tasks/[^/]+?/testcases/batch-query$","^/GT3KServer/v4/[^/]+?/testcases/batch-query$","^/GT3KServer/v4/[^/]+?/testcases/tasks/batch-query$","^/GT3KServer/v4/[^/]+?/versions/[^/]+?/issue-tree$","^/GT3KServer/v4/[^/]+?/versions/[^/]+?/tasks/batch-query$","^/GT3KServer/v4/features/[^/]+?/children$","^/GT3KServer/v4/iterators/batch-query$","^/GT3KServer/v5/features/[^/]+?/children$","^/testrelation/v4/[^/]+?/issues/[^/]+?/testcases/batch-query$","^/testreport/v4/[^/]+?/versions/[^/]+?/requirements/overview$","^/v1/[^/]+?/asset/[^/]+?/export$","^/v1/[^/]+?/data-dashboard/overview$","^/v1/[^/]+?/issues/testcases/batch-query$","^/v1/[^/]+?/system-config/find-all$","^/v1/[^/]+?/testcases/defect-info/list-by-creation-time$","^/v1/[^/]+?/testcases/execute-info/statistic-by-user$","^/v1/projects/[^/]+?/alert/group/users$","^/v1/projects/[^/]+?/dashboards/alarm/statistics$","^/v1/projects/[^/]+?/service/configs$","^/v2/[^/]+?/reviews/page$","^/v2/[^/]+?/scenes/page$","^/v2/[^/]+?/templates/templates-default$","^/v2/[^/]+?/testcases/page$","^/v2/[^/]+?/testpoints/page$","^/v2/projects/[^/]+?/dashboards/alarm/msgs$","^/v2/projects/[^/]+?/dashboards/lines$","^/v2/projects/[^/]+?/dashboards/scatters$","^/v3/[^/]+?/mindmap-backups/page$","^/v3/[^/]+?/mindmap-recycles/page$","^/v3/[^/]+?/mindmaps/page$","^/v3/[^/]+?/templates/page$","^/v3/[^/]+?/testcases$","^/v4/[^/]+?/branch/[^/]+?/testcases/plans$","^/v4/iterators/info/batch-query$","^/v4/testhub/etl/query-data$"],"coc":["^/v1/[^/]+?/list-histories$","^/v1/[^/]+?/list-tickets$","^/v1/capacity$","^/v1/external/[^/]+?/list-histories$","^/v1/external/list/authorizable-tickets$","^/v1/external/warrooms/list$","^/v1/instances/batches$","^/v1/job/analyze-job$","^/v2/incidents/[^/]+?/histories$","^/v2/incidents/list$"],"codearts-check":["^/v2/[^/]+?/tasks/[^/]+?/config-parameters$"],"codearts-deploy":["^/v1/applications/list$","^/v2/[^/]+?/tasks/metrics/success-rate$"],"codecheck-ext":["^/v2/[^/]+?/tasks/[^/]+?/config-parameters$"],"cph":["^/v1/[^/]+?/[^/]+?/resource_instances/action$","^/v1/[^/]+?/cloud-phone/phones/batch-connection$","^/v1/[^/]+?/cloud-phone/phones/batch-storage$"],"cse":["^/v1/[^/]+?/kie/download$"],"css":["^/v1\\.0/[^/]+?/clusters/[^/]+?/logs/search$"],"cts":["^/v3/[^/]+?/checkbucket$"],"das":["^/v3/[^/]+?/batch-inspection/check-credential$","^/v3/[^/]+?/instances/[^/]+?/das-recommend-sql-limit-rule$","^/v3/[^/]+?/instances/[^/]+?/health-report/check-credential$","^/v3/[^/]+?/instances/[^/]+?/list-auto-increment-usage$","^/v3/[^/]+?/instances/[^/]+?/slow-sql-statistics$","^/v3/[^/]+?/instances/[^/]+?/sql/explain$","^/v3/[^/]+?/multi-nodes/single-metric$"],"dayu":["^/v1/[^/]+?/datamap/entities/guids$","^/v1/[^/]+?/security/data-classification/rule/check$","^/v1/[^/]+?/security/permission-application/table/approvers$","^/v1/[^/]+?/security/permission-application/user-table-permissions$","^/v1/[^/]+?/security/permission-sets/datasource/role/batch-actions$","^/v1/[^/]+?/service/export/excel$","^/v1/[^/]+?/service/export/zip$","^/v1/[^/]+?/service/market$","^/v2/[^/]+?/design/export-model$","^/v2/[^/]+?/factory/release-packages$","^/v3/[^/]+?/asset/business-assets/search$","^/v3/[^/]+?/asset/entities/search$","^/v3/[^/]+?/asset/metric-assets/search$","^/v3/[^/]+?/datamap/entities/search$","^/v3/[^/]+?/datamap/tags/search$","^/v3/[^/]+?/lineage/search/unrelated/table$","^/v3/[^/]+?/metadata/tasks/[^/]+?/[^/]+?/log$","^/v3/[^/]+?/metadata/tasks/search$"],"dbss":["^/v1/[^/]+?/[^/]+?/audit/alarm-log$","^/v1/[^/]+?/[^/]+?/audit/sqls$","^/v1/[^/]+?/[^/]+?/dbss/audit/operate-log$","^/v1/[^/]+?/[^/]+?/dbss/audit/rule/sql-injections$","^/v1/[^/]+?/[^/]+?/resource-instances/count$","^/v1/[^/]+?/[^/]+?/resource-instances/filter$","^/v1/[^/]+?/audit/[^/]+?/operation-log$","^/v1/[^/]+?/audit/[^/]+?/reports/list$","^/v1/[^/]+?/audit/[^/]+?/rule/sqls$","^/v1/[^/]+?/audit/[^/]+?/statistics/session/db-account$","^/v1/[^/]+?/audit/[^/]+?/statistics/session/db-client$","^/v1/[^/]+?/audit/[^/]+?/statistics/trend/risk-level$","^/v1/[^/]+?/audit/[^/]+?/statistics/trend/risk-operation$","^/v1/[^/]+?/audit/[^/]+?/statistics/trend/session$","^/v1/[^/]+?/audit/[^/]+?/statistics/trend/sql-count$","^/v1/[^/]+?/audit/[^/]+?/statistics/trend/sql-injection$","^/v1/[^/]+?/audit/[^/]+?/statistics/trend/sql-type$","^/v1/[^/]+?/audit/[^/]+?/system/monitorinfo$","^/v1/[^/]+?/audit/databases/configs/obs-upload$","^/v2/[^/]+?/audit/[^/]+?/alarm-log$","^/v2/[^/]+?/audit/[^/]+?/backups$","^/v2/[^/]+?/audit/[^/]+?/sqls$","^/v2/[^/]+?/db-encrypt/instances$","^/v2/[^/]+?/db-om/instances$"],"dcaas":["^/v3/[^/]+?/[^/]+?/resource-instances/action$"],"dcs":["^/v2/[^/]+?/instances/[^/]+?/backups/[^/]+?/links$","^/v2/[^/]+?/instances/[^/]+?/clients$","^/v2/[^/]+?/instances/[^/]+?/hotkey/[^/]+?/export$","^/v2/[^/]+?/instances/[^/]+?/ssl-certs/download$","^/v2/[^/]+?/instances/export$"],"ddm":["^/v3/[^/]+?/instance/[^/]+?/rds/connection$","^/v3/[^/]+?/instances/[^/]+?/databases/[^/]+?/migration/precheck$","^/v3/[^/]+?/weak-password-verification$"],"dds":["^/v3/[^/]+?/instances/[^/]+?/auditlog-links$","^/v3/[^/]+?/instances/[^/]+?/check-password$","^/v3/[^/]+?/instances/[^/]+?/errorlog-download$","^/v3/[^/]+?/instances/[^/]+?/slowlog-download$","^/v3/[^/]+?/instances/action$","^/v3/[^/]+?/weak-password-verification$","^/v3\\.1/[^/]+?/instances/[^/]+?/error-logs$","^/v3\\.1/[^/]+?/instances/[^/]+?/slow-logs$"],"deh":["^/v1\\.0/[^/]+?/dedicated-host-tags/resource_instances/action$"],"dis":["^/v2/[^/]+?/stream/resource_instances/action$"],"dli":["^/v1\\.0/[^/]+?/jobs/[^/]+?/export-result$","^/v1\\.0/[^/]+?/jobs/check-sql$","^/v1\\.0/[^/]+?/jobs/export-table$","^/v1\\.0/[^/]+?/streaming/jobs/export$","^/v1\\.0/[^/]+?/streaming/jobs/metrics$","^/v3/[^/]+?/[^/]+?/resource-instances/count$","^/v3/[^/]+?/[^/]+?/resource-instances/filter$"],"dms":["^/v2/[^/]+?/[^/]+?/instances/[^/]+?/messages/resend$","^/v2/[^/]+?/instances/[^/]+?/connector/validate$"],"dns":["^/v2/[^/]+?/[^/]+?/resource_instances/action$","^/v2\\.1/batch-query-instances$"],"drs":["^/v3/[^/]+?/available-zone$","^/v3/[^/]+?/jobs/[^/]+?/batch-struct-detail$","^/v3/[^/]+?/jobs/batch-detail$","^/v3/[^/]+?/jobs/batch-get-params$","^/v3/[^/]+?/jobs/batch-precheck$","^/v3/[^/]+?/jobs/batch-precheck-result$","^/v3/[^/]+?/jobs/batch-progress$","^/v3/[^/]+?/jobs/batch-rpo-and-rto$","^/v3/[^/]+?/jobs/batch-status$","^/v3/[^/]+?/jobs/batch-struct-process$","^/v3/[^/]+?/jobs/disaster-recovery-monitoring-data$","^/v3/[^/]+?/jobs/query-compare-result$","^/v5/[^/]+?/[^/]+?/resource-instances/count$","^/v5/[^/]+?/[^/]+?/resource-instances/filter$","^/v5/[^/]+?/job/[^/]+?/data-filtering/check$","^/v5/[^/]+?/jobs/[^/]+?/db-objects/collect$","^/v5/[^/]+?/jobs/[^/]+?/object-mappings$","^/v5/[^/]+?/jobs/[^/]+?/operation-statistics/export$","^/v5/[^/]+?/jobs/export/template$","^/v5/[^/]+?/jobs/name-validation$","^/v5/[^/]+?/subscriptions$","^/v5/[^/]+?/templates/download$","^/v5\\.1/[^/]+?/jobs/[^/]+?/db-objects/collect$"],"dws":["^/v1/[^/]+?/snapshots/[^/]+?/table-restore-check$","^/v2/[^/]+?/cluster-precheck$","^/v2/[^/]+?/clusters/[^/]+?/dms/queries$","^/v2/[^/]+?/clusters/[^/]+?/grow-check$"],"ecs":["^/v1/[^/]+?/cloudservers/[^/]+?/actions/serial-console$","^/v1/[^/]+?/cloudservers/[^/]+?/remote_console$"],"eps":["^/v1\\.0/enterprise-projects/[^/]+?/resources/filter$"],"esa":["^/v1/edgesec/log/ddos-attack-logs/download$"],"evs":["^/v2/[^/]+?/cloudvolumes/resource_instances/action$"],"face":["^/v2/[^/]+?/face-sets/[^/]+?/search$"],"functiongraph":["^/v2/[^/]+?/[^/]+?/resource-instances/[^/]+?$"],"ga":["^/v1/[^/]+?/resource-instances/count$","^/v1/[^/]+?/resource-instances/filter$"],"gaussdb":["^/v3/[^/]+?/enterprise-projects/remaining-quotas$","^/v3/[^/]+?/instances/[^/]+?/global-slow-sql-detail$","^/v3/[^/]+?/instances/[^/]+?/key-view-execute-node$","^/v3/[^/]+?/instances/[^/]+?/list-full-sql-statistics$","^/v3/[^/]+?/instances/[^/]+?/list-full-sql-statistics/export$","^/v3/[^/]+?/instances/[^/]+?/list-full-sqls$","^/v3/[^/]+?/instances/[^/]+?/list-full-sqls/export$","^/v3/[^/]+?/instances/[^/]+?/parse/schema-table$","^/v3/[^/]+?/instances/[^/]+?/real-time-session$","^/v3/[^/]+?/instances/[^/]+?/slow-sql-detail$","^/v3/[^/]+?/instances/[^/]+?/slow-sql-execute-node$","^/v3/[^/]+?/instances/[^/]+?/slow-sql-list$","^/v3/[^/]+?/instances/[^/]+?/slow-sql-list/export$","^/v3/[^/]+?/instances/[^/]+?/sql/[^/]+?/plans/query$","^/v3/[^/]+?/instances/[^/]+?/table-volume/export$","^/v3/[^/]+?/instances/[^/]+?/top-sql-list$","^/v3/[^/]+?/instances/[^/]+?/top-sql-list/export$","^/v3/[^/]+?/instances/[^/]+?/transactions/list$","^/v3/[^/]+?/instances/db-upgrade/candidate-versions$","^/v3/[^/]+?/instances/export$","^/v3/[^/]+?/weak-password-verification$","^/v3\\.1/[^/]+?/instances/[^/]+?/limit-task-list$","^/v3\\.1/[^/]+?/instances/[^/]+?/table-volume$","^/v3\\.1/[^/]+?/instances/db-upgrade/candidate-versions$"],"gaussdb-mysql":["^/v3/[^/]+?/configurations/starrocks/comparison$","^/v3/[^/]+?/instances/[^/]+?/[^/]+?/errorlog-download$","^/v3/[^/]+?/instances/[^/]+?/[^/]+?/slowlog-download$","^/v3/[^/]+?/instances/[^/]+?/audit-log-link$","^/v3/[^/]+?/instances/[^/]+?/htap/databases$","^/v3/[^/]+?/instances/[^/]+?/htap/tables$","^/v3/[^/]+?/instances/[^/]+?/slow-logs/statistics$","^/v3/[^/]+?/instances/[^/]+?/starrocks/databases/replication/database-config-check$","^/v3/[^/]+?/instances/[^/]+?/starrocks/databases/replication/table-config-check$","^/v3/[^/]+?/instances/[^/]+?/starrocks/error-logs$","^/v3/[^/]+?/instances/[^/]+?/starrocks/slow-logs$","^/v3/[^/]+?/resource-check$","^/v3/[^/]+?/starrocks/resource-check$","^/v3\\.1/[^/]+?/instances/[^/]+?/error-logs$","^/v3\\.1/[^/]+?/instances/[^/]+?/slow-logs$"],"gaussdb-nosql":["^/v3/[^/]+?/cassandra/instances/[^/]+?/slow-logs$","^/v3/[^/]+?/influxdb/instances/[^/]+?/slow-logs$","^/v3/[^/]+?/instances/[^/]+?/big-keys$","^/v3/[^/]+?/instances/[^/]+?/disaster-recovery/precheck$","^/v3/[^/]+?/instances/resource-instances/action$","^/v3/[^/]+?/instances/resource_instances/action$","^/v3/[^/]+?/mongodb/instances/[^/]+?/error-logs$","^/v3/[^/]+?/mongodb/instances/[^/]+?/slow-logs$","^/v3/[^/]+?/redis/instances/[^/]+?/slow-logs$","^/v3/[^/]+?/weak-password-verification$"],"ges":["^/v2/[^/]+?/graphs/[^/]+?/backups/export$","^/v2/[^/]+?/graphs/[^/]+?/export-graph$"],"hss":["^/v5/[^/]+?/antivirus/result/export$","^/v5/[^/]+?/asset/export$","^/v5/[^/]+?/baseline/check-rule/handle-affect-baseline$","^/v5/[^/]+?/baseline/export$","^/v5/[^/]+?/billing/resource-id-list$","^/v5/[^/]+?/common/tasks/[^/]+?/resources/batch-query$","^/v5/[^/]+?/common/tasks/batch-query$","^/v5/[^/]+?/container/cluster/risk/export-task$","^/v5/[^/]+?/container/export-task$","^/v5/[^/]+?/container/kubernetes/clusters/configs/batch-query$","^/v5/[^/]+?/container/kubernetes/clusters/nodes/batch-label$","^/v5/[^/]+?/container/kubernetes/clusters/risks/query$","^/v5/[^/]+?/event/export$","^/v5/[^/]+?/export-task$","^/v5/[^/]+?/host-management/vpc-endpointes/batch-query$","^/v5/[^/]+?/image/baseline/export$","^/v5/[^/]+?/image/local-vulnerability/export$","^/v5/[^/]+?/image/security-report/export-tasks$","^/v5/[^/]+?/image/security-report/statistic$","^/v5/[^/]+?/image/vulnerability/handle-affect-vulnerabilities$","^/v5/[^/]+?/vul/export$","^/v5/[^/]+?/vulnerability/backup-statistics$","^/v5/[^/]+?/vulnerability/handle-history/export-task$","^/v5/[^/]+?/vulnerability/history/export-task$","^/v5/[^/]+?/vulnerability/repair-cmds$","^/v5/[^/]+?/vulnerability/report/data$","^/v5/[^/]+?/vulnerability/scan/task/estimated-time$","^/v5/[^/]+?/vulnerability/task/user/trace$","^/v5/[^/]+?/webtamper/host/export$"],"iam":["^/v3/auth/tokens$"],"identitystore":["^/v1/identity-stores/[^/]+?/group-memberships/retrieve-group-membership-id$","^/v1/identity-stores/[^/]+?/groups/batch-query$","^/v1/identity-stores/[^/]+?/groups/retrieve-group-id$","^/v1/identity-stores/[^/]+?/is-member-in-groups$","^/v1/identity-stores/[^/]+?/users/[^/]+?/verify-email$","^/v1/identity-stores/[^/]+?/users/batch-query$","^/v1/identity-stores/[^/]+?/users/retrieve-mfa-devices$","^/v1/identity-stores/[^/]+?/users/retrieve-user-id$"],"ims":["^/v1/cloudimages/[^/]+?/file$","^/v2/[^/]+?/images/resource_instances/action$","^/v2\\.1/cloudimages/[^/]+?/file$"],"iotda":["^/v5/iot/[^/]+?/certificates/[^/]+?/action$","^/v5/iot/[^/]+?/device-certificates/[^/]+?/list-device$","^/v5/iot/[^/]+?/device-policies/[^/]+?/list-targets$","^/v5/iot/[^/]+?/devices/[^/]+?/async-commands-history/count$","^/v5/iot/[^/]+?/devices/[^/]+?/list-device-group$","^/v5/iot/[^/]+?/search/query-devices$","^/v5/iot/[^/]+?/tags/query-resources$"],"kms":["^/v1/[^/]+?/csms/[^/]+?/action$","^/v1/[^/]+?/csms/generate-password$","^/v1/[^/]+?/secrets/[^/]+?/backup$","^/v1/[^/]+?/secrets/checker/check$","^/v1\\.0/[^/]+?/kms/[^/]+?/action$","^/v1\\.0/[^/]+?/kms/describe-key$","^/v1\\.0/[^/]+?/kms/generate-mac$","^/v1\\.0/[^/]+?/kms/get-key-rotation-status$","^/v1\\.0/[^/]+?/kms/get-publickey$","^/v1\\.0/[^/]+?/kms/list-grants$","^/v1\\.0/[^/]+?/kms/list-keys$","^/v1\\.0/[^/]+?/kms/list-retirable-grants$","^/v1\\.0/[^/]+?/kms/verify$","^/v1\\.0/[^/]+?/kms/verify-mac$","^/v3/[^/]+?/keypairs/private-key/batch-export$","^/v3/[^/]+?/keypairs/private-key/export$"],"live":["^/v1/[^/]+?/domain/verification$","^/v1/[^/]+?/ott/channels/statistic$","^/v1/[^/]+?/ott/instances$"],"lts":["^/v2/[^/]+?/[^/]+?/lts/alarms/sql-alarm/query$","^/v2/[^/]+?/[^/]+?/lts/events/notification/templates/view$","^/v2/[^/]+?/groups/[^/]+?/streams/[^/]+?/content/query$","^/v2/[^/]+?/groups/[^/]+?/streams/[^/]+?/context$","^/v2/[^/]+?/groups/[^/]+?/streams/[^/]+?/struct-content/query$","^/v2/[^/]+?/lts/keyword-count$","^/v2/[^/]+?/lts/timeline-traffic-statistics$","^/v2/[^/]+?/lts/topn-traffic-statistics$","^/v2/[^/]+?/streams/[^/]+?/struct-content/query$","^/v3/[^/]+?/lts/access-config-list$","^/v3/[^/]+?/lts/host-group-list$","^/v3/[^/]+?/lts/host-list$"],"mkp-api":["^/api/mkp-openapi-public/global/v1/order-detail/query$","^/api/mkp-openapi-public/global/v1/query-orders$","^/api/mkp-openapi-public/global/v1/saas-instance/query$","^/api/mkp-openapi-public/global/v1/subscription-agreements-query$"],"modelarts":["^/v1/[^/]+?/dev-servers/hyperinstance/cluster-capacity-evaluations$","^/v2/[^/]+?/training-job-searches$"],"moderation":["^/v3/[^/]+?/moderation/image$"],"mrs":["^/v1\\.1/[^/]+?/clusters/resource_instances/action$"],"nat":["^/v3/[^/]+?/nat_gateways/resource_instances/action$","^/v3/[^/]+?/private-nat-gateways/resource_instances/action$","^/v3/[^/]+?/transit-ips/resource_instances/action$","^/v3/[^/]+?/transit-subnets/resource_instances/action$"],"oms":["^/v2/[^/]+?/objectstorage/buckets$","^/v2/[^/]+?/objectstorage/buckets/cdn-info$","^/v2/[^/]+?/objectstorage/buckets/objects$","^/v2/[^/]+?/objectstorage/buckets/prefix$","^/v2/[^/]+?/objectstorage/buckets/regions$"],"organizations":["^/v1/organizations/[^/]+?/resource-instances/count$","^/v1/organizations/[^/]+?/resource-instances/filter$"],"pipeline":["^/v1/[^/]+?/agent-plugin/plugin-input$","^/v1/[^/]+?/agent-plugin/plugin-metrics$","^/v1/[^/]+?/agent-plugin/plugin-output$","^/v1/[^/]+?/agent-plugin/query-all$","^/v1/[^/]+?/publisher/detail$","^/v1/[^/]+?/relation/plugins$","^/v1/[^/]+?/relation/stage-plugins$","^/v3/pipelines/list$","^/v5/[^/]+?/api/pipeline-templates/list$","^/v5/[^/]+?/api/pipelines/[^/]+?/pipeline-runs/[^/]+?/jobs/[^/]+?/steps/[^/]+?/logs$","^/v5/[^/]+?/api/pipelines/[^/]+?/pipeline-runs/list$","^/v5/[^/]+?/api/pipelines/list$","^/v5/[^/]+?/api/pipelines/status$","^/v6/[^/]+?/api/pac/pipelines/actions$","^/v6/[^/]+?/api/pac/pipelines/actions/list$"],"projectman-ext":["^/v1/[^/]+?/bugs-per-developer/query$","^/v1/[^/]+?/completion-rate/query$","^/v1/ipdprojectservice/projects/[^/]+?/issues/query$","^/v2/[^/]+?/bug-density/query$","^/v3/plan/[^/]+?/managements$","^/v4/issues$","^/v4/issues/duration$","^/v4/projects/[^/]+?/issues/custom-fields$","^/v4/projects/[^/]+?/work-hours$","^/v4/projects/check-name$","^/v4/projects/work-hours$"],"ram":["^/v1/resource-share-associations/search$","^/v1/resource-share-invitations/search$","^/v1/resource-shares/resource-instances/count$","^/v1/resource-shares/resource-instances/filter$","^/v1/resource-shares/search$","^/v1/shared-principals/search$","^/v1/shared-principals/search-distinct-principal$","^/v1/shared-resources/search$","^/v1/shared-resources/search-distinct-resource$"],"rds":["^/v3/[^/]+?/[^/]+?/instances/history/databases$","^/v3/[^/]+?/[^/]+?/instances/history/tables$","^/v3/[^/]+?/instances/[^/]+?/auditlog-links$","^/v3/[^/]+?/instances/[^/]+?/error-logs$","^/v3/[^/]+?/instances/[^/]+?/errorlog-download$","^/v3/[^/]+?/instances/[^/]+?/major-version/inspection$","^/v3/[^/]+?/instances/[^/]+?/replication/login-test$","^/v3/[^/]+?/instances/[^/]+?/replication/publication-candidates$","^/v3/[^/]+?/instances/[^/]+?/replication/remote-databases$","^/v3/[^/]+?/instances/[^/]+?/slow-logs$","^/v3/[^/]+?/instances/[^/]+?/slowlog-download$","^/v3/[^/]+?/instances/[^/]+?/task-center-detail$","^/v3/[^/]+?/instances/disaster-recovery-infos$","^/v3/[^/]+?/instances/fast-restore$","^/v3/[^/]+?/simplified-instances$","^/v3/[^/]+?/weakpwd$","^/v3\\.1/[^/]+?/instances/[^/]+?/slow-logs/statistics$"],"repo":["^/v1/repositories/[^/]+?/statistics$","^/v1/user/[^/]+?/validateHttpsInfo$","^/v1/users/sshkey/privatekey/verify$","^/v2/user/[^/]+?/validate-https-info$","^/v4/groups/[^/]+?/deploy-keys/check-key$","^/v4/repositories/[^/]+?/deploy-keys/check-key$","^/v4/repository-names/validations$","^/v4/tenant/repositories/export$","^/v4/user/groups/group-permissions$"],"rgc":["^/v1/landing-zone/pre-launch-check$"],"rms":["^/v1/resource-manager/[^/]+?/resource-instances/count$","^/v1/resource-manager/[^/]+?/resource-instances/filter$","^/v1/resource-manager/domains/[^/]+?/aggregators/aggregate-data/aggregate-discovered-resource-counts$","^/v1/resource-manager/domains/[^/]+?/aggregators/aggregate-data/aggregate-discovered-resources$","^/v1/resource-manager/domains/[^/]+?/aggregators/aggregate-data/policy-assignment/detail$","^/v1/resource-manager/domains/[^/]+?/aggregators/aggregate-data/policy-assignments/compliance$","^/v1/resource-manager/domains/[^/]+?/aggregators/aggregate-data/policy-states/compliance-details$","^/v1/resource-manager/domains/[^/]+?/aggregators/aggregate-data/policy-states/compliance-summary$","^/v1/resource-manager/domains/[^/]+?/aggregators/aggregate-resource-config$","^/v1/resource-manager/domains/[^/]+?/policy-assignments/[^/]+?/remediation-execution-statuses/summary$"],"roma":["^/v2/[^/]+?/instances/[^/]+?/assets/export$"],"scm":["^/v3/scm/[^/]+?/action$","^/v3/scm/certificates/[^/]+?/export$","^/v3/scm/deployed-resources$"],"sdg":["^/v1/[^/]+?/doc-address/watermark/extract$","^/v1/[^/]+?/image-address/watermark/extract$","^/v1/[^/]+?/image-address/watermark/extract-image$","^/v1/[^/]+?/image/watermark/extract$","^/v1/[^/]+?/image/watermark/extract-image$","^/v1/[^/]+?/sdg/database/watermark/extract$","^/v1/[^/]+?/sdg/doc/watermark/extract$"],"secmaster":["^/v1/[^/]+?/[^/]+?/resource-instances/count$","^/v1/[^/]+?/[^/]+?/resource-instances/filter$","^/v1/[^/]+?/workspaces/[^/]+?/collector/logstash/parsers/export$","^/v1/[^/]+?/workspaces/[^/]+?/collector/module-templates/restriction$","^/v1/[^/]+?/workspaces/[^/]+?/sa/metrics/hits$","^/v1/[^/]+?/workspaces/[^/]+?/sa/reports/emails/search$","^/v1/[^/]+?/workspaces/[^/]+?/sa/resources/export$","^/v1/[^/]+?/workspaces/[^/]+?/sa/resources/search$","^/v1/[^/]+?/workspaces/[^/]+?/siem/moniter/metric/statistics$","^/v1/[^/]+?/workspaces/[^/]+?/siem/search/histograms$","^/v1/[^/]+?/workspaces/[^/]+?/siem/search/logs$","^/v1/[^/]+?/workspaces/[^/]+?/soc/[^/]+?/[^/]+?/[^/]+?/search$","^/v1/[^/]+?/workspaces/[^/]+?/soc/[^/]+?/export$","^/v1/[^/]+?/workspaces/[^/]+?/soc/[^/]+?/search$","^/v1/[^/]+?/workspaces/[^/]+?/soc/alerts/export$","^/v1/[^/]+?/workspaces/[^/]+?/soc/alerts/search$","^/v1/[^/]+?/workspaces/[^/]+?/soc/catalogues/search$","^/v1/[^/]+?/workspaces/[^/]+?/soc/datapanel/[^/]+?/data-objects/search$","^/v1/[^/]+?/workspaces/[^/]+?/soc/incidents/export$","^/v1/[^/]+?/workspaces/[^/]+?/soc/incidents/search$","^/v1/[^/]+?/workspaces/[^/]+?/soc/indicators/export$","^/v1/[^/]+?/workspaces/[^/]+?/soc/indicators/search$","^/v1/[^/]+?/workspaces/[^/]+?/soc/layouts/search$","^/v1/[^/]+?/workspaces/[^/]+?/soc/mappings/mappers/search$","^/v1/[^/]+?/workspaces/[^/]+?/soc/mappings/preprocess-rules/search$","^/v1/[^/]+?/workspaces/[^/]+?/soc/mappings/search$","^/v1/[^/]+?/workspaces/[^/]+?/soc/notes/search$","^/v1/[^/]+?/workspaces/[^/]+?/soc/playbooks/export$","^/v1/[^/]+?/workspaces/[^/]+?/soc/playbooks/instances/auditlogs$","^/v1/[^/]+?/workspaces/[^/]+?/soc/policy-records/[^/]+?/search$","^/v1/[^/]+?/workspaces/[^/]+?/soc/policy-records/search$","^/v1/[^/]+?/workspaces/[^/]+?/soc/policys/search$","^/v1/[^/]+?/workspaces/[^/]+?/soc/vulnerability/export$","^/v1/[^/]+?/workspaces/[^/]+?/soc/vulnerability/search$","^/v1/[^/]+?/workspaces/[^/]+?/soc/workflows/export$","^/v1/[^/]+?/workspaces/[^/]+?/soc/workflows/validation$","^/v2/[^/]+?/workspaces/[^/]+?/sa/baseline/checkitems/search$","^/v2/[^/]+?/workspaces/[^/]+?/sa/baseline/compliance-packages/search$","^/v2/[^/]+?/workspaces/[^/]+?/sa/baseline/search$","^/v2/[^/]+?/workspaces/[^/]+?/siem/tables/[^/]+?/histograms$","^/v2/[^/]+?/workspaces/[^/]+?/siem/tables/[^/]+?/logs$","^/v2/[^/]+?/workspaces/[^/]+?/siem/tables/[^/]+?/statistics$"],"sfs-turbo":["^/v1/[^/]+?/sfs-turbo/resource_instances/action$"],"smn":["^/v2/[^/]+?/[^/]+?/resource_instances/action$"],"sms":["^/v3/tasks/consistency-results/export$"],"sts":["^/v5/agencies/assume$"],"swr-api":["^/v2/[^/]+?/[^/]+?/[^/]+?/[^/]+?/resource-instances/count$","^/v2/[^/]+?/[^/]+?/[^/]+?/[^/]+?/resource-instances/filter$","^/v2/[^/]+?/[^/]+?/resource-instances/count$","^/v2/[^/]+?/[^/]+?/resource-instances/filter$"],"tms":["^/v1\\.0/resource-instances/filter$"],"ucs":["^/v1/clustergroups/[^/]+?/kubeconfig$"],"ugo":["^/v1/[^/]+?/migration-projects/[^/]+?/permission-check$"],"vpc":["^/v2\\.0/[^/]+?/publicips/resource_instances/action$","^/v2\\.0/[^/]+?/security-groups/resource_instances/action$","^/v2\\.0/[^/]+?/subnets/resource_instances/action$","^/v2\\.0/[^/]+?/vpcs/resource_instances/action$","^/v3/[^/]+?/eip/resources/available$","^/v3/[^/]+?/firewalls/resource-instances/count$","^/v3/[^/]+?/firewalls/resource-instances/filter$","^/v3/[^/]+?/ports/resource-instances/count$","^/v3/[^/]+?/ports/resource-instances/filter$"],"vpcep":["^/v1/[^/]+?/[^/]+?/resource_instances/action$"],"vpn":["^/v5/[^/]+?/[^/]+?/resource-instances/count$","^/v5/[^/]+?/[^/]+?/resource-instances/filter$","^/v5/[^/]+?/p2c-vpn-gateways/vpn-servers/[^/]+?/client-config/export$","^/v5/[^/]+?/p2c-vpn-gateways/vpn-servers/client-ca-certificates/check$"],"waf":["^/v1/[^/]+?/waf/[^/]+?/resource-instances/action$"],"workspace":["^/v2/[^/]+?/auth-config/validate-config$","^/v2/[^/]+?/certmanager/private-certificate-authorities/[^/]+?/crl$","^/v2/[^/]+?/certmanager/private-certificate-authorities/[^/]+?/export$","^/v2/[^/]+?/certmanager/private-certificate-authorities/csr$","^/v2/[^/]+?/check-cidr$","^/v2/[^/]+?/check-edge-site-resources$","^/v2/[^/]+?/desktops/check-images$","^/v2/[^/]+?/desktops/resource-instances/action$","^/v2/[^/]+?/desktops/resource_instances/action$","^/v2/[^/]+?/desktops/statistics/used$","^/v2/[^/]+?/domain-controllers/validation$","^/v2/[^/]+?/policy-groups/export$","^/v2/[^/]+?/scheduled-tasks/[^/]+?/records/export$","^/v2/[^/]+?/scheduled-tasks/future-executions$","^/v2/[^/]+?/screen-records/download-address$","^/v2/[^/]+?/statistics/metrics/app-user-access/export$","^/v2/[^/]+?/sysprep$","^/v2/[^/]+?/workspaces/enterprise-ids/check$","^/v3/[^/]+?/users/export$"]}}}
|
|
Binary file
|