@volcengine/secagent 1.0.1
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/.turbo/turbo-build.log +19 -0
- package/LICENSE.txt +202 -0
- package/dist/cjs/index.js +325 -0
- package/dist/esm/api.d.ts +320 -0
- package/dist/esm/api.d.ts.map +1 -0
- package/dist/esm/index.d.ts +13 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.mjs +210 -0
- package/dist/esm/types/add-imconfig-request.d.ts +45 -0
- package/dist/esm/types/add-imconfig-request.d.ts.map +1 -0
- package/dist/esm/types/add-imconfig-response.d.ts +20 -0
- package/dist/esm/types/add-imconfig-response.d.ts.map +1 -0
- package/dist/esm/types/add-syslog-config-request.d.ts +26 -0
- package/dist/esm/types/add-syslog-config-request.d.ts.map +1 -0
- package/dist/esm/types/add-syslog-config-response.d.ts +20 -0
- package/dist/esm/types/add-syslog-config-response.d.ts.map +1 -0
- package/dist/esm/types/add-tool-product-request.d.ts +25 -0
- package/dist/esm/types/add-tool-product-request.d.ts.map +1 -0
- package/dist/esm/types/add-tool-product-response.d.ts +20 -0
- package/dist/esm/types/add-tool-product-response.d.ts.map +1 -0
- package/dist/esm/types/auth-arg-schema-for-get-tool-detail-output.d.ts +40 -0
- package/dist/esm/types/auth-arg-schema-for-get-tool-detail-output.d.ts.map +1 -0
- package/dist/esm/types/auth-arg-schema-for-save-tool-input.d.ts +40 -0
- package/dist/esm/types/auth-arg-schema-for-save-tool-input.d.ts.map +1 -0
- package/dist/esm/types/auth-config-list-for-get-resource-auth-config-output.d.ts +36 -0
- package/dist/esm/types/auth-config-list-for-get-resource-auth-config-output.d.ts.map +1 -0
- package/dist/esm/types/auth-param-for-get-resource-auth-config-output.d.ts +40 -0
- package/dist/esm/types/auth-param-for-get-resource-auth-config-output.d.ts.map +1 -0
- package/dist/esm/types/batch-add-tool-product-doc-request.d.ts +31 -0
- package/dist/esm/types/batch-add-tool-product-doc-request.d.ts.map +1 -0
- package/dist/esm/types/batch-add-tool-product-doc-response.d.ts +20 -0
- package/dist/esm/types/batch-add-tool-product-doc-response.d.ts.map +1 -0
- package/dist/esm/types/check-imconfig-params-request.d.ts +35 -0
- package/dist/esm/types/check-imconfig-params-request.d.ts.map +1 -0
- package/dist/esm/types/check-imconfig-params-response.d.ts +30 -0
- package/dist/esm/types/check-imconfig-params-response.d.ts.map +1 -0
- package/dist/esm/types/check-imconfig-request.d.ts +25 -0
- package/dist/esm/types/check-imconfig-request.d.ts.map +1 -0
- package/dist/esm/types/check-imconfig-response.d.ts +30 -0
- package/dist/esm/types/check-imconfig-response.d.ts.map +1 -0
- package/dist/esm/types/config-data-for-add-syslog-config-input.d.ts +35 -0
- package/dist/esm/types/config-data-for-add-syslog-config-input.d.ts.map +1 -0
- package/dist/esm/types/config-data-for-gen-log-stash-config-input.d.ts +35 -0
- package/dist/esm/types/config-data-for-gen-log-stash-config-input.d.ts.map +1 -0
- package/dist/esm/types/config-data-for-update-syslog-config-input.d.ts +35 -0
- package/dist/esm/types/config-data-for-update-syslog-config-input.d.ts.map +1 -0
- package/dist/esm/types/config-data-list-for-list-syslog-config-output.d.ts +35 -0
- package/dist/esm/types/config-data-list-for-list-syslog-config-output.d.ts.map +1 -0
- package/dist/esm/types/config-list-for-list-cloud-product-integration-config-output.d.ts +50 -0
- package/dist/esm/types/config-list-for-list-cloud-product-integration-config-output.d.ts.map +1 -0
- package/dist/esm/types/del-syslog-config-request.d.ts +25 -0
- package/dist/esm/types/del-syslog-config-request.d.ts.map +1 -0
- package/dist/esm/types/del-syslog-config-response.d.ts +20 -0
- package/dist/esm/types/del-syslog-config-response.d.ts.map +1 -0
- package/dist/esm/types/delete-imconfig-request.d.ts +25 -0
- package/dist/esm/types/delete-imconfig-request.d.ts.map +1 -0
- package/dist/esm/types/delete-imconfig-response.d.ts +20 -0
- package/dist/esm/types/delete-imconfig-response.d.ts.map +1 -0
- package/dist/esm/types/delete-tool-product-request.d.ts +25 -0
- package/dist/esm/types/delete-tool-product-request.d.ts.map +1 -0
- package/dist/esm/types/delete-tool-product-response.d.ts +20 -0
- package/dist/esm/types/delete-tool-product-response.d.ts.map +1 -0
- package/dist/esm/types/describe-alarm-stat-overview-v2-request.d.ts +35 -0
- package/dist/esm/types/describe-alarm-stat-overview-v2-request.d.ts.map +1 -0
- package/dist/esm/types/describe-alarm-stat-overview-v2-response.d.ts +85 -0
- package/dist/esm/types/describe-alarm-stat-overview-v2-response.d.ts.map +1 -0
- package/dist/esm/types/doc-file-info-for-upload-tool-product-doc-output.d.ts +45 -0
- package/dist/esm/types/doc-file-info-for-upload-tool-product-doc-output.d.ts.map +1 -0
- package/dist/esm/types/doc-file-item-for-batch-add-tool-product-doc-input.d.ts +45 -0
- package/dist/esm/types/doc-file-item-for-batch-add-tool-product-doc-input.d.ts.map +1 -0
- package/dist/esm/types/edit-imconfig-request.d.ts +50 -0
- package/dist/esm/types/edit-imconfig-request.d.ts.map +1 -0
- package/dist/esm/types/edit-imconfig-response.d.ts +20 -0
- package/dist/esm/types/edit-imconfig-response.d.ts.map +1 -0
- package/dist/esm/types/edit-imconfig-status-request.d.ts +30 -0
- package/dist/esm/types/edit-imconfig-status-request.d.ts.map +1 -0
- package/dist/esm/types/edit-imconfig-status-response.d.ts +20 -0
- package/dist/esm/types/edit-imconfig-status-response.d.ts.map +1 -0
- package/dist/esm/types/evidence-chain-detail-for-get-alarm-detail-output.d.ts +111 -0
- package/dist/esm/types/evidence-chain-detail-for-get-alarm-detail-output.d.ts.map +1 -0
- package/dist/esm/types/evidence-for-get-alarm-detail-output.d.ts +30 -0
- package/dist/esm/types/evidence-for-get-alarm-detail-output.d.ts.map +1 -0
- package/dist/esm/types/evidences-for-get-alarm-detail-output.d.ts +26 -0
- package/dist/esm/types/evidences-for-get-alarm-detail-output.d.ts.map +1 -0
- package/dist/esm/types/export-alarm-request.d.ts +36 -0
- package/dist/esm/types/export-alarm-request.d.ts.map +1 -0
- package/dist/esm/types/export-alarm-response.d.ts +25 -0
- package/dist/esm/types/export-alarm-response.d.ts.map +1 -0
- package/dist/esm/types/feedback-for-get-alarm-detail-output.d.ts +40 -0
- package/dist/esm/types/feedback-for-get-alarm-detail-output.d.ts.map +1 -0
- package/dist/esm/types/feedback-for-list-fast-sampling-alarm-output.d.ts +40 -0
- package/dist/esm/types/feedback-for-list-fast-sampling-alarm-output.d.ts.map +1 -0
- package/dist/esm/types/finding-for-get-alarm-detail-output.d.ts +30 -0
- package/dist/esm/types/finding-for-get-alarm-detail-output.d.ts.map +1 -0
- package/dist/esm/types/findings-for-get-alarm-detail-output.d.ts +26 -0
- package/dist/esm/types/findings-for-get-alarm-detail-output.d.ts.map +1 -0
- package/dist/esm/types/gen-log-stash-config-request.d.ts +26 -0
- package/dist/esm/types/gen-log-stash-config-request.d.ts.map +1 -0
- package/dist/esm/types/gen-log-stash-config-response.d.ts +25 -0
- package/dist/esm/types/gen-log-stash-config-response.d.ts.map +1 -0
- package/dist/esm/types/get-alarm-detail-request.d.ts +25 -0
- package/dist/esm/types/get-alarm-detail-request.d.ts.map +1 -0
- package/dist/esm/types/get-alarm-detail-response.d.ts +26 -0
- package/dist/esm/types/get-alarm-detail-response.d.ts.map +1 -0
- package/dist/esm/types/get-resource-auth-config-request.d.ts +25 -0
- package/dist/esm/types/get-resource-auth-config-request.d.ts.map +1 -0
- package/dist/esm/types/get-resource-auth-config-response.d.ts +26 -0
- package/dist/esm/types/get-resource-auth-config-response.d.ts.map +1 -0
- package/dist/esm/types/get-tool-detail-request.d.ts +25 -0
- package/dist/esm/types/get-tool-detail-request.d.ts.map +1 -0
- package/dist/esm/types/get-tool-detail-response.d.ts +77 -0
- package/dist/esm/types/get-tool-detail-response.d.ts.map +1 -0
- package/dist/esm/types/index.d.ts +86 -0
- package/dist/esm/types/index.d.ts.map +1 -0
- package/dist/esm/types/input-arg-schema-for-get-tool-detail-output.d.ts +40 -0
- package/dist/esm/types/input-arg-schema-for-get-tool-detail-output.d.ts.map +1 -0
- package/dist/esm/types/input-arg-schema-for-save-tool-input.d.ts +40 -0
- package/dist/esm/types/input-arg-schema-for-save-tool-input.d.ts.map +1 -0
- package/dist/esm/types/iocdata-for-get-alarm-detail-output.d.ts +26 -0
- package/dist/esm/types/iocdata-for-get-alarm-detail-output.d.ts.map +1 -0
- package/dist/esm/types/iocdetail-for-get-alarm-detail-output.d.ts +35 -0
- package/dist/esm/types/iocdetail-for-get-alarm-detail-output.d.ts.map +1 -0
- package/dist/esm/types/item-for-list-tools-output.d.ts +50 -0
- package/dist/esm/types/item-for-list-tools-output.d.ts.map +1 -0
- package/dist/esm/types/list-alarm-result-for-list-fast-sampling-alarm-output.d.ts +96 -0
- package/dist/esm/types/list-alarm-result-for-list-fast-sampling-alarm-output.d.ts.map +1 -0
- package/dist/esm/types/list-alarm-search-item-for-export-alarm-input.d.ts +70 -0
- package/dist/esm/types/list-alarm-search-item-for-export-alarm-input.d.ts.map +1 -0
- package/dist/esm/types/list-cloud-product-integration-config-request.d.ts +25 -0
- package/dist/esm/types/list-cloud-product-integration-config-request.d.ts.map +1 -0
- package/dist/esm/types/list-cloud-product-integration-config-response.d.ts +26 -0
- package/dist/esm/types/list-cloud-product-integration-config-response.d.ts.map +1 -0
- package/dist/esm/types/list-fast-sampling-alarm-request.d.ts +25 -0
- package/dist/esm/types/list-fast-sampling-alarm-request.d.ts.map +1 -0
- package/dist/esm/types/list-fast-sampling-alarm-response.d.ts +26 -0
- package/dist/esm/types/list-fast-sampling-alarm-response.d.ts.map +1 -0
- package/dist/esm/types/list-syslog-config-request.d.ts +20 -0
- package/dist/esm/types/list-syslog-config-request.d.ts.map +1 -0
- package/dist/esm/types/list-syslog-config-response.d.ts +26 -0
- package/dist/esm/types/list-syslog-config-response.d.ts.map +1 -0
- package/dist/esm/types/list-tool-product-request.d.ts +35 -0
- package/dist/esm/types/list-tool-product-request.d.ts.map +1 -0
- package/dist/esm/types/list-tool-product-response.d.ts +26 -0
- package/dist/esm/types/list-tool-product-response.d.ts.map +1 -0
- package/dist/esm/types/list-tools-request.d.ts +45 -0
- package/dist/esm/types/list-tools-request.d.ts.map +1 -0
- package/dist/esm/types/list-tools-response.d.ts +26 -0
- package/dist/esm/types/list-tools-response.d.ts.map +1 -0
- package/dist/esm/types/planning-survey-path-detail-for-get-alarm-detail-output.d.ts +36 -0
- package/dist/esm/types/planning-survey-path-detail-for-get-alarm-detail-output.d.ts.map +1 -0
- package/dist/esm/types/planning-survey-path-for-get-alarm-detail-output.d.ts +26 -0
- package/dist/esm/types/planning-survey-path-for-get-alarm-detail-output.d.ts.map +1 -0
- package/dist/esm/types/rag-detail-for-get-alarm-detail-output.d.ts +30 -0
- package/dist/esm/types/rag-detail-for-get-alarm-detail-output.d.ts.map +1 -0
- package/dist/esm/types/save-tool-request.d.ts +26 -0
- package/dist/esm/types/save-tool-request.d.ts.map +1 -0
- package/dist/esm/types/save-tool-response.d.ts +25 -0
- package/dist/esm/types/save-tool-response.d.ts.map +1 -0
- package/dist/esm/types/tool-detail-for-save-tool-input.d.ts +77 -0
- package/dist/esm/types/tool-detail-for-save-tool-input.d.ts.map +1 -0
- package/dist/esm/types/tool-paras-for-get-alarm-detail-output.d.ts +35 -0
- package/dist/esm/types/tool-paras-for-get-alarm-detail-output.d.ts.map +1 -0
- package/dist/esm/types/tool-product-item-for-list-tool-product-output.d.ts +35 -0
- package/dist/esm/types/tool-product-item-for-list-tool-product-output.d.ts.map +1 -0
- package/dist/esm/types/update-cloud-product-integration-config-request.d.ts +30 -0
- package/dist/esm/types/update-cloud-product-integration-config-request.d.ts.map +1 -0
- package/dist/esm/types/update-cloud-product-integration-config-response.d.ts +20 -0
- package/dist/esm/types/update-cloud-product-integration-config-response.d.ts.map +1 -0
- package/dist/esm/types/update-syslog-config-request.d.ts +31 -0
- package/dist/esm/types/update-syslog-config-request.d.ts.map +1 -0
- package/dist/esm/types/update-syslog-config-response.d.ts +20 -0
- package/dist/esm/types/update-syslog-config-response.d.ts.map +1 -0
- package/dist/esm/types/upload-tool-product-doc-request.d.ts +25 -0
- package/dist/esm/types/upload-tool-product-doc-request.d.ts.map +1 -0
- package/dist/esm/types/upload-tool-product-doc-response.d.ts +26 -0
- package/dist/esm/types/upload-tool-product-doc-response.d.ts.map +1 -0
- package/dist/esm/types/upsert-alarm-feedback-with-rag-request.d.ts +50 -0
- package/dist/esm/types/upsert-alarm-feedback-with-rag-request.d.ts.map +1 -0
- package/dist/esm/types/upsert-alarm-feedback-with-rag-response.d.ts +20 -0
- package/dist/esm/types/upsert-alarm-feedback-with-rag-response.d.ts.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +37 -0
- package/rslib.config.ts +26 -0
- package/src/api.ts +552 -0
- package/src/index.ts +14 -0
- package/src/types/add-imconfig-request.ts +52 -0
- package/src/types/add-imconfig-response.ts +22 -0
- package/src/types/add-syslog-config-request.ts +29 -0
- package/src/types/add-syslog-config-response.ts +22 -0
- package/src/types/add-tool-product-request.ts +28 -0
- package/src/types/add-tool-product-response.ts +22 -0
- package/src/types/auth-arg-schema-for-get-tool-detail-output.ts +46 -0
- package/src/types/auth-arg-schema-for-save-tool-input.ts +46 -0
- package/src/types/auth-config-list-for-get-resource-auth-config-output.ts +41 -0
- package/src/types/auth-param-for-get-resource-auth-config-output.ts +46 -0
- package/src/types/batch-add-tool-product-doc-request.ts +35 -0
- package/src/types/batch-add-tool-product-doc-response.ts +22 -0
- package/src/types/check-imconfig-params-request.ts +40 -0
- package/src/types/check-imconfig-params-response.ts +34 -0
- package/src/types/check-imconfig-request.ts +28 -0
- package/src/types/check-imconfig-response.ts +34 -0
- package/src/types/config-data-for-add-syslog-config-input.ts +40 -0
- package/src/types/config-data-for-gen-log-stash-config-input.ts +40 -0
- package/src/types/config-data-for-update-syslog-config-input.ts +40 -0
- package/src/types/config-data-list-for-list-syslog-config-output.ts +40 -0
- package/src/types/config-list-for-list-cloud-product-integration-config-output.ts +58 -0
- package/src/types/del-syslog-config-request.ts +28 -0
- package/src/types/del-syslog-config-response.ts +22 -0
- package/src/types/delete-imconfig-request.ts +28 -0
- package/src/types/delete-imconfig-response.ts +22 -0
- package/src/types/delete-tool-product-request.ts +28 -0
- package/src/types/delete-tool-product-response.ts +22 -0
- package/src/types/describe-alarm-stat-overview-v2-request.ts +40 -0
- package/src/types/describe-alarm-stat-overview-v2-response.ts +100 -0
- package/src/types/doc-file-info-for-upload-tool-product-doc-output.ts +52 -0
- package/src/types/doc-file-item-for-batch-add-tool-product-doc-input.ts +52 -0
- package/src/types/edit-imconfig-request.ts +58 -0
- package/src/types/edit-imconfig-response.ts +22 -0
- package/src/types/edit-imconfig-status-request.ts +34 -0
- package/src/types/edit-imconfig-status-response.ts +22 -0
- package/src/types/evidence-chain-detail-for-get-alarm-detail-output.ts +130 -0
- package/src/types/evidence-for-get-alarm-detail-output.ts +34 -0
- package/src/types/evidences-for-get-alarm-detail-output.ts +29 -0
- package/src/types/export-alarm-request.ts +41 -0
- package/src/types/export-alarm-response.ts +28 -0
- package/src/types/feedback-for-get-alarm-detail-output.ts +46 -0
- package/src/types/feedback-for-list-fast-sampling-alarm-output.ts +46 -0
- package/src/types/finding-for-get-alarm-detail-output.ts +34 -0
- package/src/types/findings-for-get-alarm-detail-output.ts +29 -0
- package/src/types/gen-log-stash-config-request.ts +29 -0
- package/src/types/gen-log-stash-config-response.ts +28 -0
- package/src/types/get-alarm-detail-request.ts +28 -0
- package/src/types/get-alarm-detail-response.ts +29 -0
- package/src/types/get-resource-auth-config-request.ts +28 -0
- package/src/types/get-resource-auth-config-response.ts +29 -0
- package/src/types/get-tool-detail-request.ts +28 -0
- package/src/types/get-tool-detail-response.ts +90 -0
- package/src/types/index.ts +85 -0
- package/src/types/input-arg-schema-for-get-tool-detail-output.ts +46 -0
- package/src/types/input-arg-schema-for-save-tool-input.ts +46 -0
- package/src/types/iocdata-for-get-alarm-detail-output.ts +29 -0
- package/src/types/iocdetail-for-get-alarm-detail-output.ts +40 -0
- package/src/types/item-for-list-tools-output.ts +58 -0
- package/src/types/list-alarm-result-for-list-fast-sampling-alarm-output.ts +113 -0
- package/src/types/list-alarm-search-item-for-export-alarm-input.ts +82 -0
- package/src/types/list-cloud-product-integration-config-request.ts +28 -0
- package/src/types/list-cloud-product-integration-config-response.ts +29 -0
- package/src/types/list-fast-sampling-alarm-request.ts +28 -0
- package/src/types/list-fast-sampling-alarm-response.ts +29 -0
- package/src/types/list-syslog-config-request.ts +22 -0
- package/src/types/list-syslog-config-response.ts +29 -0
- package/src/types/list-tool-product-request.ts +40 -0
- package/src/types/list-tool-product-response.ts +29 -0
- package/src/types/list-tools-request.ts +52 -0
- package/src/types/list-tools-response.ts +29 -0
- package/src/types/planning-survey-path-detail-for-get-alarm-detail-output.ts +41 -0
- package/src/types/planning-survey-path-for-get-alarm-detail-output.ts +29 -0
- package/src/types/rag-detail-for-get-alarm-detail-output.ts +34 -0
- package/src/types/save-tool-request.ts +29 -0
- package/src/types/save-tool-response.ts +28 -0
- package/src/types/tool-detail-for-save-tool-input.ts +90 -0
- package/src/types/tool-paras-for-get-alarm-detail-output.ts +40 -0
- package/src/types/tool-product-item-for-list-tool-product-output.ts +40 -0
- package/src/types/update-cloud-product-integration-config-request.ts +34 -0
- package/src/types/update-cloud-product-integration-config-response.ts +22 -0
- package/src/types/update-syslog-config-request.ts +35 -0
- package/src/types/update-syslog-config-response.ts +22 -0
- package/src/types/upload-tool-product-doc-request.ts +28 -0
- package/src/types/upload-tool-product-doc-response.ts +29 -0
- package/src/types/upsert-alarm-feedback-with-rag-request.ts +58 -0
- package/src/types/upsert-alarm-feedback-with-rag-response.ts +22 -0
- package/tsconfig.json +12 -0
package/src/api.ts
ADDED
|
@@ -0,0 +1,552 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* sec_agent
|
|
5
|
+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
6
|
+
*
|
|
7
|
+
* OpenAPI spec version: common-version
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
11
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { Client, ClientConfig, Command, buildRequestConfigFromMetaPath, CommandOutput } from '@volcengine/sdk-core';
|
|
16
|
+
|
|
17
|
+
import { AddIMConfigRequest } from './types/index';
|
|
18
|
+
import { AddIMConfigResponse } from './types/index';
|
|
19
|
+
import { AddSyslogConfigRequest } from './types/index';
|
|
20
|
+
import { AddSyslogConfigResponse } from './types/index';
|
|
21
|
+
import { AddToolProductRequest } from './types/index';
|
|
22
|
+
import { AddToolProductResponse } from './types/index';
|
|
23
|
+
import { BatchAddToolProductDocRequest } from './types/index';
|
|
24
|
+
import { BatchAddToolProductDocResponse } from './types/index';
|
|
25
|
+
import { CheckIMConfigParamsRequest } from './types/index';
|
|
26
|
+
import { CheckIMConfigParamsResponse } from './types/index';
|
|
27
|
+
import { CheckIMConfigRequest } from './types/index';
|
|
28
|
+
import { CheckIMConfigResponse } from './types/index';
|
|
29
|
+
import { DelSyslogConfigRequest } from './types/index';
|
|
30
|
+
import { DelSyslogConfigResponse } from './types/index';
|
|
31
|
+
import { DeleteIMConfigRequest } from './types/index';
|
|
32
|
+
import { DeleteIMConfigResponse } from './types/index';
|
|
33
|
+
import { DeleteToolProductRequest } from './types/index';
|
|
34
|
+
import { DeleteToolProductResponse } from './types/index';
|
|
35
|
+
import { DescribeAlarmStatOverviewV2Request } from './types/index';
|
|
36
|
+
import { DescribeAlarmStatOverviewV2Response } from './types/index';
|
|
37
|
+
import { EditIMConfigRequest } from './types/index';
|
|
38
|
+
import { EditIMConfigResponse } from './types/index';
|
|
39
|
+
import { EditIMConfigStatusRequest } from './types/index';
|
|
40
|
+
import { EditIMConfigStatusResponse } from './types/index';
|
|
41
|
+
import { ExportAlarmRequest } from './types/index';
|
|
42
|
+
import { ExportAlarmResponse } from './types/index';
|
|
43
|
+
import { GenLogStashConfigRequest } from './types/index';
|
|
44
|
+
import { GenLogStashConfigResponse } from './types/index';
|
|
45
|
+
import { GetAlarmDetailRequest } from './types/index';
|
|
46
|
+
import { GetAlarmDetailResponse } from './types/index';
|
|
47
|
+
import { GetResourceAuthConfigRequest } from './types/index';
|
|
48
|
+
import { GetResourceAuthConfigResponse } from './types/index';
|
|
49
|
+
import { GetToolDetailRequest } from './types/index';
|
|
50
|
+
import { GetToolDetailResponse } from './types/index';
|
|
51
|
+
import { ListCloudProductIntegrationConfigRequest } from './types/index';
|
|
52
|
+
import { ListCloudProductIntegrationConfigResponse } from './types/index';
|
|
53
|
+
import { ListFastSamplingAlarmRequest } from './types/index';
|
|
54
|
+
import { ListFastSamplingAlarmResponse } from './types/index';
|
|
55
|
+
import { ListSyslogConfigRequest } from './types/index';
|
|
56
|
+
import { ListSyslogConfigResponse } from './types/index';
|
|
57
|
+
import { ListToolProductRequest } from './types/index';
|
|
58
|
+
import { ListToolProductResponse } from './types/index';
|
|
59
|
+
import { ListToolsRequest } from './types/index';
|
|
60
|
+
import { ListToolsResponse } from './types/index';
|
|
61
|
+
import { SaveToolRequest } from './types/index';
|
|
62
|
+
import { SaveToolResponse } from './types/index';
|
|
63
|
+
import { UpdateCloudProductIntegrationConfigRequest } from './types/index';
|
|
64
|
+
import { UpdateCloudProductIntegrationConfigResponse } from './types/index';
|
|
65
|
+
import { UpdateSyslogConfigRequest } from './types/index';
|
|
66
|
+
import { UpdateSyslogConfigResponse } from './types/index';
|
|
67
|
+
import { UploadToolProductDocRequest } from './types/index';
|
|
68
|
+
import { UploadToolProductDocResponse } from './types/index';
|
|
69
|
+
import { UpsertAlarmFeedbackWithRagRequest } from './types/index';
|
|
70
|
+
import { UpsertAlarmFeedbackWithRagResponse } from './types/index';
|
|
71
|
+
|
|
72
|
+
// ============================================================================
|
|
73
|
+
// Output Type Definitions
|
|
74
|
+
// ============================================================================
|
|
75
|
+
export type AddIMConfigCommandOutput = CommandOutput<AddIMConfigResponse>;
|
|
76
|
+
export type AddSyslogConfigCommandOutput = CommandOutput<AddSyslogConfigResponse>;
|
|
77
|
+
export type AddToolProductCommandOutput = CommandOutput<AddToolProductResponse>;
|
|
78
|
+
export type BatchAddToolProductDocCommandOutput = CommandOutput<BatchAddToolProductDocResponse>;
|
|
79
|
+
export type CheckIMConfigCommandOutput = CommandOutput<CheckIMConfigResponse>;
|
|
80
|
+
export type CheckIMConfigParamsCommandOutput = CommandOutput<CheckIMConfigParamsResponse>;
|
|
81
|
+
export type DelSyslogConfigCommandOutput = CommandOutput<DelSyslogConfigResponse>;
|
|
82
|
+
export type DeleteIMConfigCommandOutput = CommandOutput<DeleteIMConfigResponse>;
|
|
83
|
+
export type DeleteToolProductCommandOutput = CommandOutput<DeleteToolProductResponse>;
|
|
84
|
+
export type DescribeAlarmStatOverviewV2CommandOutput = CommandOutput<DescribeAlarmStatOverviewV2Response>;
|
|
85
|
+
export type EditIMConfigCommandOutput = CommandOutput<EditIMConfigResponse>;
|
|
86
|
+
export type EditIMConfigStatusCommandOutput = CommandOutput<EditIMConfigStatusResponse>;
|
|
87
|
+
export type ExportAlarmCommandOutput = CommandOutput<ExportAlarmResponse>;
|
|
88
|
+
export type GenLogStashConfigCommandOutput = CommandOutput<GenLogStashConfigResponse>;
|
|
89
|
+
export type GetAlarmDetailCommandOutput = CommandOutput<GetAlarmDetailResponse>;
|
|
90
|
+
export type GetResourceAuthConfigCommandOutput = CommandOutput<GetResourceAuthConfigResponse>;
|
|
91
|
+
export type GetToolDetailCommandOutput = CommandOutput<GetToolDetailResponse>;
|
|
92
|
+
export type ListCloudProductIntegrationConfigCommandOutput = CommandOutput<ListCloudProductIntegrationConfigResponse>;
|
|
93
|
+
export type ListFastSamplingAlarmCommandOutput = CommandOutput<ListFastSamplingAlarmResponse>;
|
|
94
|
+
export type ListSyslogConfigCommandOutput = CommandOutput<ListSyslogConfigResponse>;
|
|
95
|
+
export type ListToolProductCommandOutput = CommandOutput<ListToolProductResponse>;
|
|
96
|
+
export type ListToolsCommandOutput = CommandOutput<ListToolsResponse>;
|
|
97
|
+
export type SaveToolCommandOutput = CommandOutput<SaveToolResponse>;
|
|
98
|
+
export type UpdateCloudProductIntegrationConfigCommandOutput = CommandOutput<UpdateCloudProductIntegrationConfigResponse>;
|
|
99
|
+
export type UpdateSyslogConfigCommandOutput = CommandOutput<UpdateSyslogConfigResponse>;
|
|
100
|
+
export type UploadToolProductDocCommandOutput = CommandOutput<UploadToolProductDocResponse>;
|
|
101
|
+
export type UpsertAlarmFeedbackWithRagCommandOutput = CommandOutput<UpsertAlarmFeedbackWithRagResponse>;
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* SECAGENTClient Service Client
|
|
106
|
+
*/
|
|
107
|
+
export class SECAGENTClient extends Client {
|
|
108
|
+
constructor(config: ClientConfig = {}) {
|
|
109
|
+
super({
|
|
110
|
+
protocol: 'https',
|
|
111
|
+
region: 'cn-beijing',
|
|
112
|
+
...config,
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Command to AddIMConfig
|
|
119
|
+
*/
|
|
120
|
+
export class AddIMConfigCommand extends Command<
|
|
121
|
+
AddIMConfigRequest,
|
|
122
|
+
AddIMConfigCommandOutput,
|
|
123
|
+
'AddIMConfigCommand'
|
|
124
|
+
> {
|
|
125
|
+
static readonly metaPath = '/AddIMConfig/2025-01-01/sec_agent/post/application_json/';
|
|
126
|
+
|
|
127
|
+
constructor(input: AddIMConfigRequest) {
|
|
128
|
+
super(input);
|
|
129
|
+
this.requestConfig = buildRequestConfigFromMetaPath(AddIMConfigCommand.metaPath);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* Command to AddSyslogConfig
|
|
134
|
+
*/
|
|
135
|
+
export class AddSyslogConfigCommand extends Command<
|
|
136
|
+
AddSyslogConfigRequest,
|
|
137
|
+
AddSyslogConfigCommandOutput,
|
|
138
|
+
'AddSyslogConfigCommand'
|
|
139
|
+
> {
|
|
140
|
+
static readonly metaPath = '/AddSyslogConfig/2025-01-01/sec_agent/post/application_json/';
|
|
141
|
+
|
|
142
|
+
constructor(input: AddSyslogConfigRequest) {
|
|
143
|
+
super(input);
|
|
144
|
+
this.requestConfig = buildRequestConfigFromMetaPath(AddSyslogConfigCommand.metaPath);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* Command to AddToolProduct
|
|
149
|
+
*/
|
|
150
|
+
export class AddToolProductCommand extends Command<
|
|
151
|
+
AddToolProductRequest,
|
|
152
|
+
AddToolProductCommandOutput,
|
|
153
|
+
'AddToolProductCommand'
|
|
154
|
+
> {
|
|
155
|
+
static readonly metaPath = '/AddToolProduct/2025-01-01/sec_agent/post/application_json/';
|
|
156
|
+
|
|
157
|
+
constructor(input: AddToolProductRequest) {
|
|
158
|
+
super(input);
|
|
159
|
+
this.requestConfig = buildRequestConfigFromMetaPath(AddToolProductCommand.metaPath);
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* Command to BatchAddToolProductDoc
|
|
164
|
+
*/
|
|
165
|
+
export class BatchAddToolProductDocCommand extends Command<
|
|
166
|
+
BatchAddToolProductDocRequest,
|
|
167
|
+
BatchAddToolProductDocCommandOutput,
|
|
168
|
+
'BatchAddToolProductDocCommand'
|
|
169
|
+
> {
|
|
170
|
+
static readonly metaPath = '/BatchAddToolProductDoc/2025-01-01/sec_agent/post/application_json/';
|
|
171
|
+
|
|
172
|
+
constructor(input: BatchAddToolProductDocRequest) {
|
|
173
|
+
super(input);
|
|
174
|
+
this.requestConfig = buildRequestConfigFromMetaPath(BatchAddToolProductDocCommand.metaPath);
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* Command to CheckIMConfig
|
|
179
|
+
*/
|
|
180
|
+
export class CheckIMConfigCommand extends Command<
|
|
181
|
+
CheckIMConfigRequest,
|
|
182
|
+
CheckIMConfigCommandOutput,
|
|
183
|
+
'CheckIMConfigCommand'
|
|
184
|
+
> {
|
|
185
|
+
static readonly metaPath = '/CheckIMConfig/2025-01-01/sec_agent/post/application_json/';
|
|
186
|
+
|
|
187
|
+
constructor(input: CheckIMConfigRequest) {
|
|
188
|
+
super(input);
|
|
189
|
+
this.requestConfig = buildRequestConfigFromMetaPath(CheckIMConfigCommand.metaPath);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* Command to CheckIMConfigParams
|
|
194
|
+
*/
|
|
195
|
+
export class CheckIMConfigParamsCommand extends Command<
|
|
196
|
+
CheckIMConfigParamsRequest,
|
|
197
|
+
CheckIMConfigParamsCommandOutput,
|
|
198
|
+
'CheckIMConfigParamsCommand'
|
|
199
|
+
> {
|
|
200
|
+
static readonly metaPath = '/CheckIMConfigParams/2025-01-01/sec_agent/post/application_json/';
|
|
201
|
+
|
|
202
|
+
constructor(input: CheckIMConfigParamsRequest) {
|
|
203
|
+
super(input);
|
|
204
|
+
this.requestConfig = buildRequestConfigFromMetaPath(CheckIMConfigParamsCommand.metaPath);
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
/**
|
|
208
|
+
* Command to DelSyslogConfig
|
|
209
|
+
*/
|
|
210
|
+
export class DelSyslogConfigCommand extends Command<
|
|
211
|
+
DelSyslogConfigRequest,
|
|
212
|
+
DelSyslogConfigCommandOutput,
|
|
213
|
+
'DelSyslogConfigCommand'
|
|
214
|
+
> {
|
|
215
|
+
static readonly metaPath = '/DelSyslogConfig/2025-01-01/sec_agent/post/application_json/';
|
|
216
|
+
|
|
217
|
+
constructor(input: DelSyslogConfigRequest) {
|
|
218
|
+
super(input);
|
|
219
|
+
this.requestConfig = buildRequestConfigFromMetaPath(DelSyslogConfigCommand.metaPath);
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* Command to DeleteIMConfig
|
|
224
|
+
*/
|
|
225
|
+
export class DeleteIMConfigCommand extends Command<
|
|
226
|
+
DeleteIMConfigRequest,
|
|
227
|
+
DeleteIMConfigCommandOutput,
|
|
228
|
+
'DeleteIMConfigCommand'
|
|
229
|
+
> {
|
|
230
|
+
static readonly metaPath = '/DeleteIMConfig/2025-01-01/sec_agent/post/application_json/';
|
|
231
|
+
|
|
232
|
+
constructor(input: DeleteIMConfigRequest) {
|
|
233
|
+
super(input);
|
|
234
|
+
this.requestConfig = buildRequestConfigFromMetaPath(DeleteIMConfigCommand.metaPath);
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* Command to DeleteToolProduct
|
|
239
|
+
*/
|
|
240
|
+
export class DeleteToolProductCommand extends Command<
|
|
241
|
+
DeleteToolProductRequest,
|
|
242
|
+
DeleteToolProductCommandOutput,
|
|
243
|
+
'DeleteToolProductCommand'
|
|
244
|
+
> {
|
|
245
|
+
static readonly metaPath = '/DeleteToolProduct/2025-01-01/sec_agent/post/application_json/';
|
|
246
|
+
|
|
247
|
+
constructor(input: DeleteToolProductRequest) {
|
|
248
|
+
super(input);
|
|
249
|
+
this.requestConfig = buildRequestConfigFromMetaPath(DeleteToolProductCommand.metaPath);
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
/**
|
|
253
|
+
* Command to DescribeAlarmStatOverviewV2
|
|
254
|
+
*/
|
|
255
|
+
export class DescribeAlarmStatOverviewV2Command extends Command<
|
|
256
|
+
DescribeAlarmStatOverviewV2Request,
|
|
257
|
+
DescribeAlarmStatOverviewV2CommandOutput,
|
|
258
|
+
'DescribeAlarmStatOverviewV2Command'
|
|
259
|
+
> {
|
|
260
|
+
static readonly metaPath = '/DescribeAlarmStatOverviewV2/2025-01-01/sec_agent/post/application_json/';
|
|
261
|
+
|
|
262
|
+
constructor(input: DescribeAlarmStatOverviewV2Request) {
|
|
263
|
+
super(input);
|
|
264
|
+
this.requestConfig = buildRequestConfigFromMetaPath(DescribeAlarmStatOverviewV2Command.metaPath);
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
/**
|
|
268
|
+
* Command to EditIMConfig
|
|
269
|
+
*/
|
|
270
|
+
export class EditIMConfigCommand extends Command<
|
|
271
|
+
EditIMConfigRequest,
|
|
272
|
+
EditIMConfigCommandOutput,
|
|
273
|
+
'EditIMConfigCommand'
|
|
274
|
+
> {
|
|
275
|
+
static readonly metaPath = '/EditIMConfig/2025-01-01/sec_agent/post/application_json/';
|
|
276
|
+
|
|
277
|
+
constructor(input: EditIMConfigRequest) {
|
|
278
|
+
super(input);
|
|
279
|
+
this.requestConfig = buildRequestConfigFromMetaPath(EditIMConfigCommand.metaPath);
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
/**
|
|
283
|
+
* Command to EditIMConfigStatus
|
|
284
|
+
*/
|
|
285
|
+
export class EditIMConfigStatusCommand extends Command<
|
|
286
|
+
EditIMConfigStatusRequest,
|
|
287
|
+
EditIMConfigStatusCommandOutput,
|
|
288
|
+
'EditIMConfigStatusCommand'
|
|
289
|
+
> {
|
|
290
|
+
static readonly metaPath = '/EditIMConfigStatus/2025-01-01/sec_agent/post/application_json/';
|
|
291
|
+
|
|
292
|
+
constructor(input: EditIMConfigStatusRequest) {
|
|
293
|
+
super(input);
|
|
294
|
+
this.requestConfig = buildRequestConfigFromMetaPath(EditIMConfigStatusCommand.metaPath);
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
/**
|
|
298
|
+
* Command to ExportAlarm
|
|
299
|
+
*/
|
|
300
|
+
export class ExportAlarmCommand extends Command<
|
|
301
|
+
ExportAlarmRequest,
|
|
302
|
+
ExportAlarmCommandOutput,
|
|
303
|
+
'ExportAlarmCommand'
|
|
304
|
+
> {
|
|
305
|
+
static readonly metaPath = '/ExportAlarm/2025-01-01/sec_agent/post/application_json/';
|
|
306
|
+
|
|
307
|
+
constructor(input: ExportAlarmRequest) {
|
|
308
|
+
super(input);
|
|
309
|
+
this.requestConfig = buildRequestConfigFromMetaPath(ExportAlarmCommand.metaPath);
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
/**
|
|
313
|
+
* Command to GenLogStashConfig
|
|
314
|
+
*/
|
|
315
|
+
export class GenLogStashConfigCommand extends Command<
|
|
316
|
+
GenLogStashConfigRequest,
|
|
317
|
+
GenLogStashConfigCommandOutput,
|
|
318
|
+
'GenLogStashConfigCommand'
|
|
319
|
+
> {
|
|
320
|
+
static readonly metaPath = '/GenLogStashConfig/2025-01-01/sec_agent/post/application_json/';
|
|
321
|
+
|
|
322
|
+
constructor(input: GenLogStashConfigRequest) {
|
|
323
|
+
super(input);
|
|
324
|
+
this.requestConfig = buildRequestConfigFromMetaPath(GenLogStashConfigCommand.metaPath);
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
/**
|
|
328
|
+
* Command to GetAlarmDetail
|
|
329
|
+
*/
|
|
330
|
+
export class GetAlarmDetailCommand extends Command<
|
|
331
|
+
GetAlarmDetailRequest,
|
|
332
|
+
GetAlarmDetailCommandOutput,
|
|
333
|
+
'GetAlarmDetailCommand'
|
|
334
|
+
> {
|
|
335
|
+
static readonly metaPath = '/GetAlarmDetail/2025-01-01/sec_agent/post/application_json/';
|
|
336
|
+
|
|
337
|
+
constructor(input: GetAlarmDetailRequest) {
|
|
338
|
+
super(input);
|
|
339
|
+
this.requestConfig = buildRequestConfigFromMetaPath(GetAlarmDetailCommand.metaPath);
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
/**
|
|
343
|
+
* Command to GetResourceAuthConfig
|
|
344
|
+
*/
|
|
345
|
+
export class GetResourceAuthConfigCommand extends Command<
|
|
346
|
+
GetResourceAuthConfigRequest,
|
|
347
|
+
GetResourceAuthConfigCommandOutput,
|
|
348
|
+
'GetResourceAuthConfigCommand'
|
|
349
|
+
> {
|
|
350
|
+
static readonly metaPath = '/GetResourceAuthConfig/2025-01-01/sec_agent/post/application_json/';
|
|
351
|
+
|
|
352
|
+
constructor(input: GetResourceAuthConfigRequest) {
|
|
353
|
+
super(input);
|
|
354
|
+
this.requestConfig = buildRequestConfigFromMetaPath(GetResourceAuthConfigCommand.metaPath);
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
/**
|
|
358
|
+
* Command to GetToolDetail
|
|
359
|
+
*/
|
|
360
|
+
export class GetToolDetailCommand extends Command<
|
|
361
|
+
GetToolDetailRequest,
|
|
362
|
+
GetToolDetailCommandOutput,
|
|
363
|
+
'GetToolDetailCommand'
|
|
364
|
+
> {
|
|
365
|
+
static readonly metaPath = '/GetToolDetail/2025-01-01/sec_agent/post/application_json/';
|
|
366
|
+
|
|
367
|
+
constructor(input: GetToolDetailRequest) {
|
|
368
|
+
super(input);
|
|
369
|
+
this.requestConfig = buildRequestConfigFromMetaPath(GetToolDetailCommand.metaPath);
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
/**
|
|
373
|
+
* Command to ListCloudProductIntegrationConfig
|
|
374
|
+
*/
|
|
375
|
+
export class ListCloudProductIntegrationConfigCommand extends Command<
|
|
376
|
+
ListCloudProductIntegrationConfigRequest,
|
|
377
|
+
ListCloudProductIntegrationConfigCommandOutput,
|
|
378
|
+
'ListCloudProductIntegrationConfigCommand'
|
|
379
|
+
> {
|
|
380
|
+
static readonly metaPath = '/ListCloudProductIntegrationConfig/2025-01-01/sec_agent/post/application_json/';
|
|
381
|
+
|
|
382
|
+
constructor(input: ListCloudProductIntegrationConfigRequest) {
|
|
383
|
+
super(input);
|
|
384
|
+
this.requestConfig = buildRequestConfigFromMetaPath(ListCloudProductIntegrationConfigCommand.metaPath);
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
/**
|
|
388
|
+
* Command to ListFastSamplingAlarm
|
|
389
|
+
*/
|
|
390
|
+
export class ListFastSamplingAlarmCommand extends Command<
|
|
391
|
+
ListFastSamplingAlarmRequest,
|
|
392
|
+
ListFastSamplingAlarmCommandOutput,
|
|
393
|
+
'ListFastSamplingAlarmCommand'
|
|
394
|
+
> {
|
|
395
|
+
static readonly metaPath = '/ListFastSamplingAlarm/2025-01-01/sec_agent/post/application_json/';
|
|
396
|
+
|
|
397
|
+
constructor(input: ListFastSamplingAlarmRequest) {
|
|
398
|
+
super(input);
|
|
399
|
+
this.requestConfig = buildRequestConfigFromMetaPath(ListFastSamplingAlarmCommand.metaPath);
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
/**
|
|
403
|
+
* Command to ListSyslogConfig
|
|
404
|
+
*/
|
|
405
|
+
export class ListSyslogConfigCommand extends Command<
|
|
406
|
+
ListSyslogConfigRequest,
|
|
407
|
+
ListSyslogConfigCommandOutput,
|
|
408
|
+
'ListSyslogConfigCommand'
|
|
409
|
+
> {
|
|
410
|
+
static readonly metaPath = '/ListSyslogConfig/2025-01-01/sec_agent/post/application_json/';
|
|
411
|
+
|
|
412
|
+
constructor(input: ListSyslogConfigRequest) {
|
|
413
|
+
super(input);
|
|
414
|
+
this.requestConfig = buildRequestConfigFromMetaPath(ListSyslogConfigCommand.metaPath);
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
/**
|
|
418
|
+
* Command to ListToolProduct
|
|
419
|
+
*/
|
|
420
|
+
export class ListToolProductCommand extends Command<
|
|
421
|
+
ListToolProductRequest,
|
|
422
|
+
ListToolProductCommandOutput,
|
|
423
|
+
'ListToolProductCommand'
|
|
424
|
+
> {
|
|
425
|
+
static readonly metaPath = '/ListToolProduct/2025-01-01/sec_agent/post/application_json/';
|
|
426
|
+
|
|
427
|
+
constructor(input: ListToolProductRequest) {
|
|
428
|
+
super(input);
|
|
429
|
+
this.requestConfig = buildRequestConfigFromMetaPath(ListToolProductCommand.metaPath);
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
/**
|
|
433
|
+
* Command to ListTools
|
|
434
|
+
*/
|
|
435
|
+
export class ListToolsCommand extends Command<
|
|
436
|
+
ListToolsRequest,
|
|
437
|
+
ListToolsCommandOutput,
|
|
438
|
+
'ListToolsCommand'
|
|
439
|
+
> {
|
|
440
|
+
static readonly metaPath = '/ListTools/2025-01-01/sec_agent/post/application_json/';
|
|
441
|
+
|
|
442
|
+
constructor(input: ListToolsRequest) {
|
|
443
|
+
super(input);
|
|
444
|
+
this.requestConfig = buildRequestConfigFromMetaPath(ListToolsCommand.metaPath);
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
/**
|
|
448
|
+
* Command to SaveTool
|
|
449
|
+
*/
|
|
450
|
+
export class SaveToolCommand extends Command<
|
|
451
|
+
SaveToolRequest,
|
|
452
|
+
SaveToolCommandOutput,
|
|
453
|
+
'SaveToolCommand'
|
|
454
|
+
> {
|
|
455
|
+
static readonly metaPath = '/SaveTool/2025-01-01/sec_agent/post/application_json/';
|
|
456
|
+
|
|
457
|
+
constructor(input: SaveToolRequest) {
|
|
458
|
+
super(input);
|
|
459
|
+
this.requestConfig = buildRequestConfigFromMetaPath(SaveToolCommand.metaPath);
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
/**
|
|
463
|
+
* Command to UpdateCloudProductIntegrationConfig
|
|
464
|
+
*/
|
|
465
|
+
export class UpdateCloudProductIntegrationConfigCommand extends Command<
|
|
466
|
+
UpdateCloudProductIntegrationConfigRequest,
|
|
467
|
+
UpdateCloudProductIntegrationConfigCommandOutput,
|
|
468
|
+
'UpdateCloudProductIntegrationConfigCommand'
|
|
469
|
+
> {
|
|
470
|
+
static readonly metaPath = '/UpdateCloudProductIntegrationConfig/2025-01-01/sec_agent/post/application_json/';
|
|
471
|
+
|
|
472
|
+
constructor(input: UpdateCloudProductIntegrationConfigRequest) {
|
|
473
|
+
super(input);
|
|
474
|
+
this.requestConfig = buildRequestConfigFromMetaPath(UpdateCloudProductIntegrationConfigCommand.metaPath);
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
/**
|
|
478
|
+
* Command to UpdateSyslogConfig
|
|
479
|
+
*/
|
|
480
|
+
export class UpdateSyslogConfigCommand extends Command<
|
|
481
|
+
UpdateSyslogConfigRequest,
|
|
482
|
+
UpdateSyslogConfigCommandOutput,
|
|
483
|
+
'UpdateSyslogConfigCommand'
|
|
484
|
+
> {
|
|
485
|
+
static readonly metaPath = '/UpdateSyslogConfig/2025-01-01/sec_agent/post/application_json/';
|
|
486
|
+
|
|
487
|
+
constructor(input: UpdateSyslogConfigRequest) {
|
|
488
|
+
super(input);
|
|
489
|
+
this.requestConfig = buildRequestConfigFromMetaPath(UpdateSyslogConfigCommand.metaPath);
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
/**
|
|
493
|
+
* Command to UploadToolProductDoc
|
|
494
|
+
*/
|
|
495
|
+
export class UploadToolProductDocCommand extends Command<
|
|
496
|
+
UploadToolProductDocRequest,
|
|
497
|
+
UploadToolProductDocCommandOutput,
|
|
498
|
+
'UploadToolProductDocCommand'
|
|
499
|
+
> {
|
|
500
|
+
static readonly metaPath = '/UploadToolProductDoc/2025-01-01/sec_agent/post/application_json/';
|
|
501
|
+
|
|
502
|
+
constructor(input: UploadToolProductDocRequest) {
|
|
503
|
+
super(input);
|
|
504
|
+
this.requestConfig = buildRequestConfigFromMetaPath(UploadToolProductDocCommand.metaPath);
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
/**
|
|
508
|
+
* Command to UpsertAlarmFeedbackWithRag
|
|
509
|
+
*/
|
|
510
|
+
export class UpsertAlarmFeedbackWithRagCommand extends Command<
|
|
511
|
+
UpsertAlarmFeedbackWithRagRequest,
|
|
512
|
+
UpsertAlarmFeedbackWithRagCommandOutput,
|
|
513
|
+
'UpsertAlarmFeedbackWithRagCommand'
|
|
514
|
+
> {
|
|
515
|
+
static readonly metaPath = '/UpsertAlarmFeedbackWithRag/2025-01-01/sec_agent/post/application_json/';
|
|
516
|
+
|
|
517
|
+
constructor(input: UpsertAlarmFeedbackWithRagRequest) {
|
|
518
|
+
super(input);
|
|
519
|
+
this.requestConfig = buildRequestConfigFromMetaPath(UpsertAlarmFeedbackWithRagCommand.metaPath);
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
export default {
|
|
524
|
+
SECAGENTClient,
|
|
525
|
+
AddIMConfigCommand,
|
|
526
|
+
AddSyslogConfigCommand,
|
|
527
|
+
AddToolProductCommand,
|
|
528
|
+
BatchAddToolProductDocCommand,
|
|
529
|
+
CheckIMConfigCommand,
|
|
530
|
+
CheckIMConfigParamsCommand,
|
|
531
|
+
DelSyslogConfigCommand,
|
|
532
|
+
DeleteIMConfigCommand,
|
|
533
|
+
DeleteToolProductCommand,
|
|
534
|
+
DescribeAlarmStatOverviewV2Command,
|
|
535
|
+
EditIMConfigCommand,
|
|
536
|
+
EditIMConfigStatusCommand,
|
|
537
|
+
ExportAlarmCommand,
|
|
538
|
+
GenLogStashConfigCommand,
|
|
539
|
+
GetAlarmDetailCommand,
|
|
540
|
+
GetResourceAuthConfigCommand,
|
|
541
|
+
GetToolDetailCommand,
|
|
542
|
+
ListCloudProductIntegrationConfigCommand,
|
|
543
|
+
ListFastSamplingAlarmCommand,
|
|
544
|
+
ListSyslogConfigCommand,
|
|
545
|
+
ListToolProductCommand,
|
|
546
|
+
ListToolsCommand,
|
|
547
|
+
SaveToolCommand,
|
|
548
|
+
UpdateCloudProductIntegrationConfigCommand,
|
|
549
|
+
UpdateSyslogConfigCommand,
|
|
550
|
+
UploadToolProductDocCommand,
|
|
551
|
+
UpsertAlarmFeedbackWithRagCommand,
|
|
552
|
+
};
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// tslint:disable
|
|
2
|
+
/**
|
|
3
|
+
* sec_agent
|
|
4
|
+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
5
|
+
*
|
|
6
|
+
* OpenAPI spec version: common-version
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
10
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
export * from "./api";
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* sec_agent
|
|
5
|
+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
6
|
+
*
|
|
7
|
+
* OpenAPI spec version: common-version
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
11
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AddIMConfigRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface AddIMConfigRequest {
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof AddIMConfigRequest
|
|
26
|
+
*/
|
|
27
|
+
NotifyPlatform: string;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @type {Array<string>}
|
|
31
|
+
* @memberof AddIMConfigRequest
|
|
32
|
+
*/
|
|
33
|
+
NotifyRange?: Array<string>;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof AddIMConfigRequest
|
|
38
|
+
*/
|
|
39
|
+
RebotName: string;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof AddIMConfigRequest
|
|
44
|
+
*/
|
|
45
|
+
Signature: string;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof AddIMConfigRequest
|
|
50
|
+
*/
|
|
51
|
+
Webhook: string;
|
|
52
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* sec_agent
|
|
5
|
+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
6
|
+
*
|
|
7
|
+
* OpenAPI spec version: common-version
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
11
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AddIMConfigResponse
|
|
20
|
+
*/
|
|
21
|
+
export interface AddIMConfigResponse {
|
|
22
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* sec_agent
|
|
5
|
+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
6
|
+
*
|
|
7
|
+
* OpenAPI spec version: common-version
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
11
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { ConfigDataForAddSyslogConfigInput } from './config-data-for-add-syslog-config-input';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface AddSyslogConfigRequest
|
|
21
|
+
*/
|
|
22
|
+
export interface AddSyslogConfigRequest {
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* @type {ConfigDataForAddSyslogConfigInput}
|
|
26
|
+
* @memberof AddSyslogConfigRequest
|
|
27
|
+
*/
|
|
28
|
+
ConfigData?: ConfigDataForAddSyslogConfigInput;
|
|
29
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* sec_agent
|
|
5
|
+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
6
|
+
*
|
|
7
|
+
* OpenAPI spec version: common-version
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
11
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AddSyslogConfigResponse
|
|
20
|
+
*/
|
|
21
|
+
export interface AddSyslogConfigResponse {
|
|
22
|
+
}
|