@alicloud/sas20181203 1.0.12 → 1.1.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/LICENSE ADDED
@@ -0,0 +1,13 @@
1
+ Copyright (c) 2009-present, Alibaba Cloud All rights reserved.
2
+
3
+ Licensed under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License.
5
+ You may obtain a copy of the License at
6
+
7
+ http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ Unless required by applicable law or agreed to in writing, software
10
+ distributed under the License is distributed on an "AS IS" BASIS,
11
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ See the License for the specific language governing permissions and
13
+ limitations under the License.
package/README.md ADDED
@@ -0,0 +1,25 @@
1
+ English | [简体中文](README-CN.md)
2
+ ![](https://aliyunsdk-pages.alicdn.com/icons/AlibabaCloud.svg)
3
+
4
+ # Alibaba Cloud Sas SDK for NodeJS
5
+
6
+ ## Installation
7
+ If you use `npm` to manage your dependence, you can use the following command:
8
+
9
+ ```sh
10
+ npm install @alicloud/sas20181203 -S
11
+ ```
12
+
13
+ ## Issues
14
+ [Opening an Issue](https://github.com/aliyun/alibabacloud-typescript-sdk/issues/new), Issues not conforming to the guidelines may be closed immediately.
15
+
16
+ ## Usage
17
+ [Usage Document](https://github.com/aliyun/alibabacloud-typescript-sdk/blob/master/docs/Usage-EN.md#quick-examples)
18
+
19
+ ## References
20
+ * [Latest Release](https://github.com/aliyun/alibabacloud-typescript-sdk/)
21
+
22
+ ## License
23
+ [Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0)
24
+
25
+ Copyright (c) 2009-present, Alibaba Cloud All rights reserved.
package/dist/client.d.ts CHANGED
@@ -745,6 +745,7 @@ export declare class DescribeAlarmEventListRequest extends $tea.Model {
745
745
  pageSize?: string;
746
746
  remark?: string;
747
747
  sourceIp?: string;
748
+ tacticId?: string;
748
749
  static names(): {
749
750
  [key: string]: string;
750
751
  };
@@ -3257,14 +3258,18 @@ export declare class DescribePropertyCountRequest extends $tea.Model {
3257
3258
  });
3258
3259
  }
3259
3260
  export declare class DescribePropertyCountResponseBody extends $tea.Model {
3260
- autoRun?: number;
3261
+ autorun?: number;
3261
3262
  cron?: number;
3263
+ database?: number;
3264
+ lkm?: number;
3262
3265
  port?: number;
3263
3266
  process?: number;
3264
3267
  requestId?: string;
3265
3268
  sca?: number;
3266
3269
  software?: number;
3267
3270
  user?: number;
3271
+ web?: number;
3272
+ webserver?: number;
3268
3273
  static names(): {
3269
3274
  [key: string]: string;
3270
3275
  };
@@ -4835,6 +4840,7 @@ export declare class DescribeSuspEventsRequest extends $tea.Model {
4835
4840
  source?: string;
4836
4841
  sourceIp?: string;
4837
4842
  status?: string;
4843
+ tacticId?: string;
4838
4844
  targetType?: string;
4839
4845
  uniqueInfo?: string;
4840
4846
  uuids?: string;
@@ -6513,6 +6519,47 @@ export declare class ModifyOperateVulResponse extends $tea.Model {
6513
6519
  [key: string]: any;
6514
6520
  });
6515
6521
  }
6522
+ export declare class ModifyPropertyScheduleConfigRequest extends $tea.Model {
6523
+ scheduleTime?: string;
6524
+ type?: string;
6525
+ static names(): {
6526
+ [key: string]: string;
6527
+ };
6528
+ static types(): {
6529
+ [key: string]: any;
6530
+ };
6531
+ constructor(map?: {
6532
+ [key: string]: any;
6533
+ });
6534
+ }
6535
+ export declare class ModifyPropertyScheduleConfigResponseBody extends $tea.Model {
6536
+ modifyResult?: boolean;
6537
+ requestId?: string;
6538
+ static names(): {
6539
+ [key: string]: string;
6540
+ };
6541
+ static types(): {
6542
+ [key: string]: any;
6543
+ };
6544
+ constructor(map?: {
6545
+ [key: string]: any;
6546
+ });
6547
+ }
6548
+ export declare class ModifyPropertyScheduleConfigResponse extends $tea.Model {
6549
+ headers: {
6550
+ [key: string]: string;
6551
+ };
6552
+ body: ModifyPropertyScheduleConfigResponseBody;
6553
+ static names(): {
6554
+ [key: string]: string;
6555
+ };
6556
+ static types(): {
6557
+ [key: string]: any;
6558
+ };
6559
+ constructor(map?: {
6560
+ [key: string]: any;
6561
+ });
6562
+ }
6516
6563
  export declare class ModifyPushAllTaskRequest extends $tea.Model {
6517
6564
  sourceIp?: string;
6518
6565
  tasks?: string;
@@ -7916,6 +7963,19 @@ export declare class DescribeAlarmEventListResponseBodyPageInfo extends $tea.Mod
7916
7963
  [key: string]: any;
7917
7964
  });
7918
7965
  }
7966
+ export declare class DescribeAlarmEventListResponseBodySuspEventsTacticItems extends $tea.Model {
7967
+ tacticDisplayName?: string;
7968
+ tacticId?: string;
7969
+ static names(): {
7970
+ [key: string]: string;
7971
+ };
7972
+ static types(): {
7973
+ [key: string]: any;
7974
+ };
7975
+ constructor(map?: {
7976
+ [key: string]: any;
7977
+ });
7978
+ }
7919
7979
  export declare class DescribeAlarmEventListResponseBodySuspEvents extends $tea.Model {
7920
7980
  alarmEventName?: string;
7921
7981
  alarmEventNameOriginal?: string;
@@ -7942,6 +8002,7 @@ export declare class DescribeAlarmEventListResponseBodySuspEvents extends $tea.M
7942
8002
  stages?: string;
7943
8003
  startTime?: number;
7944
8004
  suspiciousEventCount?: number;
8005
+ tacticItems?: DescribeAlarmEventListResponseBodySuspEventsTacticItems[];
7945
8006
  uuid?: string;
7946
8007
  static names(): {
7947
8008
  [key: string]: string;
@@ -10166,6 +10227,19 @@ export declare class DescribeSuspEventsResponseBodySuspEventsEventNotes extends
10166
10227
  [key: string]: any;
10167
10228
  });
10168
10229
  }
10230
+ export declare class DescribeSuspEventsResponseBodySuspEventsTacticItems extends $tea.Model {
10231
+ tacticDisplayName?: string;
10232
+ tacticId?: string;
10233
+ static names(): {
10234
+ [key: string]: string;
10235
+ };
10236
+ static types(): {
10237
+ [key: string]: any;
10238
+ };
10239
+ constructor(map?: {
10240
+ [key: string]: any;
10241
+ });
10242
+ }
10169
10243
  export declare class DescribeSuspEventsResponseBodySuspEvents extends $tea.Model {
10170
10244
  advanced?: boolean;
10171
10245
  alarmEventName?: string;
@@ -10212,6 +10286,7 @@ export declare class DescribeSuspEventsResponseBodySuspEvents extends $tea.Model
10212
10286
  saleVersion?: string;
10213
10287
  securityEventIds?: string;
10214
10288
  stages?: string;
10289
+ tacticItems?: DescribeSuspEventsResponseBodySuspEventsTacticItems[];
10215
10290
  uniqueInfo?: string;
10216
10291
  uuid?: string;
10217
10292
  static names(): {
@@ -10399,8 +10474,10 @@ export declare class DescribeVulListResponseBodyVulRecordsExtendContentJsonRpmEn
10399
10474
  fullVersion?: string;
10400
10475
  imageName?: string;
10401
10476
  matchDetail?: string;
10477
+ matchList?: string;
10402
10478
  name?: string;
10403
10479
  path?: string;
10480
+ pid?: string;
10404
10481
  updateCmd?: string;
10405
10482
  version?: string;
10406
10483
  static names(): {
@@ -10936,6 +11013,8 @@ export default class Client extends OpenApi {
10936
11013
  modifyOpenLogShipper(request: ModifyOpenLogShipperRequest): Promise<ModifyOpenLogShipperResponse>;
10937
11014
  modifyOperateVulWithOptions(request: ModifyOperateVulRequest, runtime: $Util.RuntimeOptions): Promise<ModifyOperateVulResponse>;
10938
11015
  modifyOperateVul(request: ModifyOperateVulRequest): Promise<ModifyOperateVulResponse>;
11016
+ modifyPropertyScheduleConfigWithOptions(request: ModifyPropertyScheduleConfigRequest, runtime: $Util.RuntimeOptions): Promise<ModifyPropertyScheduleConfigResponse>;
11017
+ modifyPropertyScheduleConfig(request: ModifyPropertyScheduleConfigRequest): Promise<ModifyPropertyScheduleConfigResponse>;
10939
11018
  modifyPushAllTaskWithOptions(request: ModifyPushAllTaskRequest, runtime: $Util.RuntimeOptions): Promise<ModifyPushAllTaskResponse>;
10940
11019
  modifyPushAllTask(request: ModifyPushAllTaskRequest): Promise<ModifyPushAllTaskResponse>;
10941
11020
  modifyRiskCheckStatusWithOptions(request: ModifyRiskCheckStatusRequest, runtime: $Util.RuntimeOptions): Promise<ModifyRiskCheckStatusResponse>;
package/dist/client.js CHANGED
@@ -1013,6 +1013,7 @@ class DescribeAlarmEventListRequest extends $tea.Model {
1013
1013
  pageSize: 'PageSize',
1014
1014
  remark: 'Remark',
1015
1015
  sourceIp: 'SourceIp',
1016
+ tacticId: 'TacticId',
1016
1017
  };
1017
1018
  }
1018
1019
  static types() {
@@ -1029,6 +1030,7 @@ class DescribeAlarmEventListRequest extends $tea.Model {
1029
1030
  pageSize: 'string',
1030
1031
  remark: 'string',
1031
1032
  sourceIp: 'string',
1033
+ tacticId: 'string',
1032
1034
  };
1033
1035
  }
1034
1036
  }
@@ -4505,26 +4507,34 @@ class DescribePropertyCountResponseBody extends $tea.Model {
4505
4507
  }
4506
4508
  static names() {
4507
4509
  return {
4508
- autoRun: 'AutoRun',
4510
+ autorun: 'Autorun',
4509
4511
  cron: 'Cron',
4512
+ database: 'Database',
4513
+ lkm: 'Lkm',
4510
4514
  port: 'Port',
4511
4515
  process: 'Process',
4512
4516
  requestId: 'RequestId',
4513
4517
  sca: 'Sca',
4514
4518
  software: 'Software',
4515
4519
  user: 'User',
4520
+ web: 'Web',
4521
+ webserver: 'Webserver',
4516
4522
  };
4517
4523
  }
4518
4524
  static types() {
4519
4525
  return {
4520
- autoRun: 'number',
4526
+ autorun: 'number',
4521
4527
  cron: 'number',
4528
+ database: 'number',
4529
+ lkm: 'number',
4522
4530
  port: 'number',
4523
4531
  process: 'number',
4524
4532
  requestId: 'string',
4525
4533
  sca: 'number',
4526
4534
  software: 'number',
4527
4535
  user: 'number',
4536
+ web: 'number',
4537
+ webserver: 'number',
4528
4538
  };
4529
4539
  }
4530
4540
  }
@@ -6686,6 +6696,7 @@ class DescribeSuspEventsRequest extends $tea.Model {
6686
6696
  source: 'Source',
6687
6697
  sourceIp: 'SourceIp',
6688
6698
  status: 'Status',
6699
+ tacticId: 'TacticId',
6689
6700
  targetType: 'TargetType',
6690
6701
  uniqueInfo: 'UniqueInfo',
6691
6702
  uuids: 'Uuids',
@@ -6712,6 +6723,7 @@ class DescribeSuspEventsRequest extends $tea.Model {
6712
6723
  source: 'string',
6713
6724
  sourceIp: 'string',
6714
6725
  status: 'string',
6726
+ tacticId: 'string',
6715
6727
  targetType: 'string',
6716
6728
  uniqueInfo: 'string',
6717
6729
  uuids: 'string',
@@ -8985,6 +8997,60 @@ class ModifyOperateVulResponse extends $tea.Model {
8985
8997
  }
8986
8998
  }
8987
8999
  exports.ModifyOperateVulResponse = ModifyOperateVulResponse;
9000
+ class ModifyPropertyScheduleConfigRequest extends $tea.Model {
9001
+ constructor(map) {
9002
+ super(map);
9003
+ }
9004
+ static names() {
9005
+ return {
9006
+ scheduleTime: 'ScheduleTime',
9007
+ type: 'Type',
9008
+ };
9009
+ }
9010
+ static types() {
9011
+ return {
9012
+ scheduleTime: 'string',
9013
+ type: 'string',
9014
+ };
9015
+ }
9016
+ }
9017
+ exports.ModifyPropertyScheduleConfigRequest = ModifyPropertyScheduleConfigRequest;
9018
+ class ModifyPropertyScheduleConfigResponseBody extends $tea.Model {
9019
+ constructor(map) {
9020
+ super(map);
9021
+ }
9022
+ static names() {
9023
+ return {
9024
+ modifyResult: 'ModifyResult',
9025
+ requestId: 'RequestId',
9026
+ };
9027
+ }
9028
+ static types() {
9029
+ return {
9030
+ modifyResult: 'boolean',
9031
+ requestId: 'string',
9032
+ };
9033
+ }
9034
+ }
9035
+ exports.ModifyPropertyScheduleConfigResponseBody = ModifyPropertyScheduleConfigResponseBody;
9036
+ class ModifyPropertyScheduleConfigResponse extends $tea.Model {
9037
+ constructor(map) {
9038
+ super(map);
9039
+ }
9040
+ static names() {
9041
+ return {
9042
+ headers: 'headers',
9043
+ body: 'body',
9044
+ };
9045
+ }
9046
+ static types() {
9047
+ return {
9048
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
9049
+ body: ModifyPropertyScheduleConfigResponseBody,
9050
+ };
9051
+ }
9052
+ }
9053
+ exports.ModifyPropertyScheduleConfigResponse = ModifyPropertyScheduleConfigResponse;
8988
9054
  class ModifyPushAllTaskRequest extends $tea.Model {
8989
9055
  constructor(map) {
8990
9056
  super(map);
@@ -10907,6 +10973,24 @@ class DescribeAlarmEventListResponseBodyPageInfo extends $tea.Model {
10907
10973
  }
10908
10974
  }
10909
10975
  exports.DescribeAlarmEventListResponseBodyPageInfo = DescribeAlarmEventListResponseBodyPageInfo;
10976
+ class DescribeAlarmEventListResponseBodySuspEventsTacticItems extends $tea.Model {
10977
+ constructor(map) {
10978
+ super(map);
10979
+ }
10980
+ static names() {
10981
+ return {
10982
+ tacticDisplayName: 'TacticDisplayName',
10983
+ tacticId: 'TacticId',
10984
+ };
10985
+ }
10986
+ static types() {
10987
+ return {
10988
+ tacticDisplayName: 'string',
10989
+ tacticId: 'string',
10990
+ };
10991
+ }
10992
+ }
10993
+ exports.DescribeAlarmEventListResponseBodySuspEventsTacticItems = DescribeAlarmEventListResponseBodySuspEventsTacticItems;
10910
10994
  class DescribeAlarmEventListResponseBodySuspEvents extends $tea.Model {
10911
10995
  constructor(map) {
10912
10996
  super(map);
@@ -10938,6 +11022,7 @@ class DescribeAlarmEventListResponseBodySuspEvents extends $tea.Model {
10938
11022
  stages: 'Stages',
10939
11023
  startTime: 'StartTime',
10940
11024
  suspiciousEventCount: 'SuspiciousEventCount',
11025
+ tacticItems: 'TacticItems',
10941
11026
  uuid: 'Uuid',
10942
11027
  };
10943
11028
  }
@@ -10968,6 +11053,7 @@ class DescribeAlarmEventListResponseBodySuspEvents extends $tea.Model {
10968
11053
  stages: 'string',
10969
11054
  startTime: 'number',
10970
11055
  suspiciousEventCount: 'number',
11056
+ tacticItems: { 'type': 'array', 'itemType': DescribeAlarmEventListResponseBodySuspEventsTacticItems },
10971
11057
  uuid: 'string',
10972
11058
  };
10973
11059
  }
@@ -14431,6 +14517,24 @@ class DescribeSuspEventsResponseBodySuspEventsEventNotes extends $tea.Model {
14431
14517
  }
14432
14518
  }
14433
14519
  exports.DescribeSuspEventsResponseBodySuspEventsEventNotes = DescribeSuspEventsResponseBodySuspEventsEventNotes;
14520
+ class DescribeSuspEventsResponseBodySuspEventsTacticItems extends $tea.Model {
14521
+ constructor(map) {
14522
+ super(map);
14523
+ }
14524
+ static names() {
14525
+ return {
14526
+ tacticDisplayName: 'TacticDisplayName',
14527
+ tacticId: 'TacticId',
14528
+ };
14529
+ }
14530
+ static types() {
14531
+ return {
14532
+ tacticDisplayName: 'string',
14533
+ tacticId: 'string',
14534
+ };
14535
+ }
14536
+ }
14537
+ exports.DescribeSuspEventsResponseBodySuspEventsTacticItems = DescribeSuspEventsResponseBodySuspEventsTacticItems;
14434
14538
  class DescribeSuspEventsResponseBodySuspEvents extends $tea.Model {
14435
14539
  constructor(map) {
14436
14540
  super(map);
@@ -14482,6 +14586,7 @@ class DescribeSuspEventsResponseBodySuspEvents extends $tea.Model {
14482
14586
  saleVersion: 'SaleVersion',
14483
14587
  securityEventIds: 'SecurityEventIds',
14484
14588
  stages: 'Stages',
14589
+ tacticItems: 'TacticItems',
14485
14590
  uniqueInfo: 'UniqueInfo',
14486
14591
  uuid: 'Uuid',
14487
14592
  };
@@ -14533,6 +14638,7 @@ class DescribeSuspEventsResponseBodySuspEvents extends $tea.Model {
14533
14638
  saleVersion: 'string',
14534
14639
  securityEventIds: 'string',
14535
14640
  stages: 'string',
14641
+ tacticItems: { 'type': 'array', 'itemType': DescribeSuspEventsResponseBodySuspEventsTacticItems },
14536
14642
  uniqueInfo: 'string',
14537
14643
  uuid: 'string',
14538
14644
  };
@@ -14809,8 +14915,10 @@ class DescribeVulListResponseBodyVulRecordsExtendContentJsonRpmEntityList extend
14809
14915
  fullVersion: 'FullVersion',
14810
14916
  imageName: 'ImageName',
14811
14917
  matchDetail: 'MatchDetail',
14918
+ matchList: 'MatchList',
14812
14919
  name: 'Name',
14813
14920
  path: 'Path',
14921
+ pid: 'Pid',
14814
14922
  updateCmd: 'UpdateCmd',
14815
14923
  version: 'Version',
14816
14924
  };
@@ -14821,8 +14929,10 @@ class DescribeVulListResponseBodyVulRecordsExtendContentJsonRpmEntityList extend
14821
14929
  fullVersion: 'string',
14822
14930
  imageName: 'string',
14823
14931
  matchDetail: 'string',
14932
+ matchList: 'string',
14824
14933
  name: 'string',
14825
14934
  path: 'string',
14935
+ pid: 'string',
14826
14936
  updateCmd: 'string',
14827
14937
  version: 'string',
14828
14938
  };
@@ -15873,6 +15983,9 @@ class Client extends openapi_client_1.default {
15873
15983
  if (!tea_util_1.default.isUnset(request.sourceIp)) {
15874
15984
  query["SourceIp"] = request.sourceIp;
15875
15985
  }
15986
+ if (!tea_util_1.default.isUnset(request.tacticId)) {
15987
+ query["TacticId"] = request.tacticId;
15988
+ }
15876
15989
  let req = new $OpenApi.OpenApiRequest({
15877
15990
  query: openapi_util_1.default.query(query),
15878
15991
  });
@@ -19181,8 +19294,13 @@ class Client extends openapi_client_1.default {
19181
19294
  if (!tea_util_1.default.isUnset(request.uuids)) {
19182
19295
  query["Uuids"] = request.uuids;
19183
19296
  }
19297
+ let body = {};
19298
+ if (!tea_util_1.default.isUnset(request.tacticId)) {
19299
+ body["TacticId"] = request.tacticId;
19300
+ }
19184
19301
  let req = new $OpenApi.OpenApiRequest({
19185
19302
  query: openapi_util_1.default.query(query),
19303
+ body: openapi_util_1.default.parseToMap(body),
19186
19304
  });
19187
19305
  let params = new $OpenApi.Params({
19188
19306
  action: "DescribeSuspEvents",
@@ -20481,6 +20599,35 @@ class Client extends openapi_client_1.default {
20481
20599
  let runtime = new $Util.RuntimeOptions({});
20482
20600
  return await this.modifyOperateVulWithOptions(request, runtime);
20483
20601
  }
20602
+ async modifyPropertyScheduleConfigWithOptions(request, runtime) {
20603
+ tea_util_1.default.validateModel(request);
20604
+ let query = {};
20605
+ if (!tea_util_1.default.isUnset(request.scheduleTime)) {
20606
+ query["ScheduleTime"] = request.scheduleTime;
20607
+ }
20608
+ if (!tea_util_1.default.isUnset(request.type)) {
20609
+ query["Type"] = request.type;
20610
+ }
20611
+ let req = new $OpenApi.OpenApiRequest({
20612
+ query: openapi_util_1.default.query(query),
20613
+ });
20614
+ let params = new $OpenApi.Params({
20615
+ action: "ModifyPropertyScheduleConfig",
20616
+ version: "2018-12-03",
20617
+ protocol: "HTTPS",
20618
+ pathname: "/",
20619
+ method: "POST",
20620
+ authType: "AK",
20621
+ style: "RPC",
20622
+ reqBodyType: "formData",
20623
+ bodyType: "json",
20624
+ });
20625
+ return $tea.cast(await this.callApi(params, req, runtime), new ModifyPropertyScheduleConfigResponse({}));
20626
+ }
20627
+ async modifyPropertyScheduleConfig(request) {
20628
+ let runtime = new $Util.RuntimeOptions({});
20629
+ return await this.modifyPropertyScheduleConfigWithOptions(request, runtime);
20630
+ }
20484
20631
  async modifyPushAllTaskWithOptions(request, runtime) {
20485
20632
  tea_util_1.default.validateModel(request);
20486
20633
  let query = {};