@alicloud/cloud-siem20220616 6.1.0 → 6.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.d.ts CHANGED
@@ -504,7 +504,7 @@ export default class Client extends OpenApi {
504
504
  */
505
505
  describeDataSourceParameters(request: $_model.DescribeDataSourceParametersRequest): Promise<$_model.DescribeDataSourceParametersResponse>;
506
506
  /**
507
- * Retrieves entities to be remediated and a list of playbooks.
507
+ * Retrieves the list of entities that require disposition and the list of playbooks.
508
508
  *
509
509
  * @param request - DescribeDisposeAndPlaybookRequest
510
510
  * @param runtime - runtime options for this request RuntimeOptions
@@ -512,7 +512,7 @@ export default class Client extends OpenApi {
512
512
  */
513
513
  describeDisposeAndPlaybookWithOptions(request: $_model.DescribeDisposeAndPlaybookRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeDisposeAndPlaybookResponse>;
514
514
  /**
515
- * Retrieves entities to be remediated and a list of playbooks.
515
+ * Retrieves the list of entities that require disposition and the list of playbooks.
516
516
  *
517
517
  * @param request - DescribeDisposeAndPlaybookRequest
518
518
  * @returns DescribeDisposeAndPlaybookResponse
@@ -803,6 +803,27 @@ export default class Client extends OpenApi {
803
803
  * @returns GetCapacityResponse
804
804
  */
805
805
  getCapacity(request: $_model.GetCapacityRequest): Promise<$_model.GetCapacityResponse>;
806
+ /**
807
+ * Retrieves the details of user data storage on the Log Management page.
808
+ *
809
+ * @remarks
810
+ * The input parameter JsonConfig is a complex JSON configuration. We provide a utility class to help with specific configuration examples. For more information, see [Demo](https://github.com/aliyun/cloud-siem-client/blob/master/src/main/java/com/aliyun/security/cloudsiem/client/sample/JobBuilderSample.java).
811
+ *
812
+ * @param request - GetDataStorageRequest
813
+ * @param runtime - runtime options for this request RuntimeOptions
814
+ * @returns GetDataStorageResponse
815
+ */
816
+ getDataStorageWithOptions(request: $_model.GetDataStorageRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetDataStorageResponse>;
817
+ /**
818
+ * Retrieves the details of user data storage on the Log Management page.
819
+ *
820
+ * @remarks
821
+ * The input parameter JsonConfig is a complex JSON configuration. We provide a utility class to help with specific configuration examples. For more information, see [Demo](https://github.com/aliyun/cloud-siem-client/blob/master/src/main/java/com/aliyun/security/cloudsiem/client/sample/JobBuilderSample.java).
822
+ *
823
+ * @param request - GetDataStorageRequest
824
+ * @returns GetDataStorageResponse
825
+ */
826
+ getDataStorage(request: $_model.GetDataStorageRequest): Promise<$_model.GetDataStorageResponse>;
806
827
  /**
807
828
  * Queries entity counts.
808
829
  *
package/dist/client.js CHANGED
@@ -1851,7 +1851,7 @@ class Client extends openapi_core_1.default {
1851
1851
  return await this.describeDataSourceParametersWithOptions(request, runtime);
1852
1852
  }
1853
1853
  /**
1854
- * Retrieves entities to be remediated and a list of playbooks.
1854
+ * Retrieves the list of entities that require disposition and the list of playbooks.
1855
1855
  *
1856
1856
  * @param request - DescribeDisposeAndPlaybookRequest
1857
1857
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1901,7 +1901,7 @@ class Client extends openapi_core_1.default {
1901
1901
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDisposeAndPlaybookResponse({}));
1902
1902
  }
1903
1903
  /**
1904
- * Retrieves entities to be remediated and a list of playbooks.
1904
+ * Retrieves the list of entities that require disposition and the list of playbooks.
1905
1905
  *
1906
1906
  * @param request - DescribeDisposeAndPlaybookRequest
1907
1907
  * @returns DescribeDisposeAndPlaybookResponse
@@ -2816,6 +2816,57 @@ class Client extends openapi_core_1.default {
2816
2816
  let runtime = new $dara.RuntimeOptions({});
2817
2817
  return await this.getCapacityWithOptions(request, runtime);
2818
2818
  }
2819
+ /**
2820
+ * Retrieves the details of user data storage on the Log Management page.
2821
+ *
2822
+ * @remarks
2823
+ * The input parameter JsonConfig is a complex JSON configuration. We provide a utility class to help with specific configuration examples. For more information, see [Demo](https://github.com/aliyun/cloud-siem-client/blob/master/src/main/java/com/aliyun/security/cloudsiem/client/sample/JobBuilderSample.java).
2824
+ *
2825
+ * @param request - GetDataStorageRequest
2826
+ * @param runtime - runtime options for this request RuntimeOptions
2827
+ * @returns GetDataStorageResponse
2828
+ */
2829
+ async getDataStorageWithOptions(request, runtime) {
2830
+ request.validate();
2831
+ let body = {};
2832
+ if (!$dara.isNull(request.lang)) {
2833
+ body["Lang"] = request.lang;
2834
+ }
2835
+ if (!$dara.isNull(request.regionId)) {
2836
+ body["RegionId"] = request.regionId;
2837
+ }
2838
+ if (!$dara.isNull(request.roleFor)) {
2839
+ body["RoleFor"] = request.roleFor;
2840
+ }
2841
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2842
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
2843
+ });
2844
+ let params = new openapi_core_2.$OpenApiUtil.Params({
2845
+ action: "GetDataStorage",
2846
+ version: "2022-06-16",
2847
+ protocol: "HTTPS",
2848
+ pathname: "/",
2849
+ method: "POST",
2850
+ authType: "AK",
2851
+ style: "RPC",
2852
+ reqBodyType: "formData",
2853
+ bodyType: "json",
2854
+ });
2855
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetDataStorageResponse({}));
2856
+ }
2857
+ /**
2858
+ * Retrieves the details of user data storage on the Log Management page.
2859
+ *
2860
+ * @remarks
2861
+ * The input parameter JsonConfig is a complex JSON configuration. We provide a utility class to help with specific configuration examples. For more information, see [Demo](https://github.com/aliyun/cloud-siem-client/blob/master/src/main/java/com/aliyun/security/cloudsiem/client/sample/JobBuilderSample.java).
2862
+ *
2863
+ * @param request - GetDataStorageRequest
2864
+ * @returns GetDataStorageResponse
2865
+ */
2866
+ async getDataStorage(request) {
2867
+ let runtime = new $dara.RuntimeOptions({});
2868
+ return await this.getDataStorageWithOptions(request, runtime);
2869
+ }
2819
2870
  /**
2820
2871
  * Queries entity counts.
2821
2872
  *