@alicloud/sas20181203 4.3.0 → 4.3.2

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
@@ -1742,6 +1742,21 @@ export declare class ChangeSecurityScoreRuleRequestSecurityScoreRuleList extends
1742
1742
  [key: string]: any;
1743
1743
  });
1744
1744
  }
1745
+ export declare class CreateAntiBruteForceRuleRequestProtocolType extends $dara.Model {
1746
+ rdp?: string;
1747
+ sqlServer?: string;
1748
+ ssh?: string;
1749
+ static names(): {
1750
+ [key: string]: string;
1751
+ };
1752
+ static types(): {
1753
+ [key: string]: any;
1754
+ };
1755
+ validate(): void;
1756
+ constructor(map?: {
1757
+ [key: string]: any;
1758
+ });
1759
+ }
1745
1760
  export declare class CreateAntiBruteForceRuleResponseBodyCreateAntiBruteForceRule extends $dara.Model {
1746
1761
  /**
1747
1762
  * @remarks
@@ -5036,6 +5051,21 @@ export declare class DescribeAntiBruteForceRulesResponseBodyPageInfo extends $da
5036
5051
  [key: string]: any;
5037
5052
  });
5038
5053
  }
5054
+ export declare class DescribeAntiBruteForceRulesResponseBodyRulesProtocolType extends $dara.Model {
5055
+ rdp?: string;
5056
+ sqlServer?: string;
5057
+ ssh?: string;
5058
+ static names(): {
5059
+ [key: string]: string;
5060
+ };
5061
+ static types(): {
5062
+ [key: string]: any;
5063
+ };
5064
+ validate(): void;
5065
+ constructor(map?: {
5066
+ [key: string]: any;
5067
+ });
5068
+ }
5039
5069
  export declare class DescribeAntiBruteForceRulesResponseBodyRules extends $dara.Model {
5040
5070
  /**
5041
5071
  * @remarks
@@ -5106,6 +5136,7 @@ export declare class DescribeAntiBruteForceRulesResponseBodyRules extends $dara.
5106
5136
  * AntiBruteForceRule01
5107
5137
  */
5108
5138
  name?: string;
5139
+ protocolType?: DescribeAntiBruteForceRulesResponseBodyRulesProtocolType;
5109
5140
  /**
5110
5141
  * @remarks
5111
5142
  * The period of time during which logon failures from an account are measured. Unit: minutes. If **Span** is set to 10, the defense rule takes effect when the logon failures measured within 10 minutes reaches the specified threshold. The IP address of attackers cannot be used to log on to the server in the specified period of time.
@@ -40132,6 +40163,14 @@ export declare class GetHoneyPotUploadPolicyInfoResponseBodyData extends $dara.M
40132
40163
  * eyJleHBpcmF0aW9uIjoiMjAyMy0wOS0wMVQwMzoyNTozNS44MzZaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsMTA0ODU3NjAwXSxbInN0YXJ0cy13aXRoIiwiJGtleSIsIkhPTkVZUE9UX0ZJTEUvMTc2NjE4NTg5NDEwNDY3NV8xNjkzNTM4NDM1N*****************
40133
40164
  */
40134
40165
  policy?: string;
40166
+ /**
40167
+ * @remarks
40168
+ * The security token.
40169
+ *
40170
+ * @example
40171
+ * ***
40172
+ */
40173
+ securityToken?: string;
40135
40174
  /**
40136
40175
  * @remarks
40137
40176
  * The signature that is calculated based on **AccessKeySecret** and **Policy**. When you call an Object Storage Service (OSS) API operation, OSS uses the signature information to verify the POST request.
@@ -47760,6 +47799,8 @@ export declare class ListCheckItemWarningMachineResponseBodyListWarningRiskList
47760
47799
  *
47761
47800
  * @example
47762
47801
  * 72
47802
+ *
47803
+ * @deprecated
47763
47804
  */
47764
47805
  riskId?: number;
47765
47806
  /**
@@ -47768,6 +47809,8 @@ export declare class ListCheckItemWarningMachineResponseBodyListWarningRiskList
47768
47809
  *
47769
47810
  * @example
47770
47811
  * Alibaba Cloud Linux/Aliyun Linux 2 Baseline for China classified protection of cybersecurity-Level II
47812
+ *
47813
+ * @deprecated
47771
47814
  */
47772
47815
  riskName?: string;
47773
47816
  static names(): {
@@ -47966,6 +48009,8 @@ export declare class ListCheckItemWarningMachineResponseBodyList extends $dara.M
47966
48009
  /**
47967
48010
  * @remarks
47968
48011
  * The information about the baselines on which the risk item is detected.
48012
+ *
48013
+ * @deprecated
47969
48014
  */
47970
48015
  warningRiskList?: ListCheckItemWarningMachineResponseBodyListWarningRiskList[];
47971
48016
  static names(): {
@@ -58241,6 +58286,21 @@ export declare class ListVulGlobalConfigResponseBodyVulGlobalConfigList extends
58241
58286
  [key: string]: any;
58242
58287
  });
58243
58288
  }
58289
+ export declare class ModifyAntiBruteForceRuleRequestProtocolType extends $dara.Model {
58290
+ rdp?: string;
58291
+ sqlServer?: string;
58292
+ ssh?: string;
58293
+ static names(): {
58294
+ [key: string]: string;
58295
+ };
58296
+ static types(): {
58297
+ [key: string]: any;
58298
+ };
58299
+ validate(): void;
58300
+ constructor(map?: {
58301
+ [key: string]: any;
58302
+ });
58303
+ }
58244
58304
  export declare class ModifyAssetCleanConfigRequestAssetCleanConfigs extends $dara.Model {
58245
58305
  /**
58246
58306
  * @remarks
@@ -68339,6 +68399,108 @@ export declare class CreateAntiBruteForceRuleRequest extends $dara.Model {
68339
68399
  * TestAntiBruteForceRule
68340
68400
  */
68341
68401
  name?: string;
68402
+ protocolType?: CreateAntiBruteForceRuleRequestProtocolType;
68403
+ resourceOwnerId?: number;
68404
+ /**
68405
+ * @remarks
68406
+ * The source IP address of the request.
68407
+ *
68408
+ * @example
68409
+ * 192.168.XX.XX
68410
+ */
68411
+ sourceIp?: string;
68412
+ /**
68413
+ * @remarks
68414
+ * The maximum period of time during which failed logon attempts from an account can occur. Unit: minutes. Valid values:
68415
+ *
68416
+ * * **1**
68417
+ * * **2**
68418
+ * * **5**
68419
+ * * **10**
68420
+ * * **15**
68421
+ *
68422
+ * > To configure a defense rule, you must specify the Span, FailCount, and ForbiddenTime parameters. If the number of failed logon attempts from an account within the minutes specified by Span exceeds the value specified by FailCount, the account cannot be used for logons within the minutes specified by ForbiddenTime.
68423
+ *
68424
+ * This parameter is required.
68425
+ *
68426
+ * @example
68427
+ * 1
68428
+ */
68429
+ span?: number;
68430
+ /**
68431
+ * @remarks
68432
+ * The UUIDs of the servers to which you want to apply the defense rule.
68433
+ *
68434
+ * This parameter is required.
68435
+ */
68436
+ uuidList?: string[];
68437
+ static names(): {
68438
+ [key: string]: string;
68439
+ };
68440
+ static types(): {
68441
+ [key: string]: any;
68442
+ };
68443
+ validate(): void;
68444
+ constructor(map?: {
68445
+ [key: string]: any;
68446
+ });
68447
+ }
68448
+ export declare class CreateAntiBruteForceRuleShrinkRequest extends $dara.Model {
68449
+ /**
68450
+ * @remarks
68451
+ * Specifies whether to set the defense rule as the default rule. Valid values:
68452
+ *
68453
+ * * **true**: yes
68454
+ * * **false**: no
68455
+ *
68456
+ * > If no defense rule is created for a server, the default rule is applied to the server.
68457
+ *
68458
+ * @example
68459
+ * true
68460
+ */
68461
+ defaultRule?: boolean;
68462
+ /**
68463
+ * @remarks
68464
+ * The maximum number of failed logon attempts from an account. Valid values: 2, 3, 4, 5, 10, 50, 80, and 100.
68465
+ *
68466
+ * This parameter is required.
68467
+ *
68468
+ * @example
68469
+ * 2
68470
+ */
68471
+ failCount?: number;
68472
+ /**
68473
+ * @remarks
68474
+ * The period of time during which logons from an account are not allowed. Unit: minutes. Valid values:
68475
+ *
68476
+ * * **5**: 5 minutes
68477
+ * * **15**: 15 minutes
68478
+ * * **30**: 30 minutes
68479
+ * * **60**: 1 hour
68480
+ * * **120**: 2 hours
68481
+ * * **360**: 6 hours
68482
+ * * **720**: 12 hours
68483
+ * * **1440**: 24 hours
68484
+ * * **10080**: 7 days
68485
+ * * **52560000**: permanent
68486
+ *
68487
+ * This parameter is required.
68488
+ *
68489
+ * @example
68490
+ * 5
68491
+ */
68492
+ forbiddenTime?: number;
68493
+ /**
68494
+ * @remarks
68495
+ * The name of the defense rule.
68496
+ *
68497
+ * This parameter is required.
68498
+ *
68499
+ * @example
68500
+ * TestAntiBruteForceRule
68501
+ */
68502
+ name?: string;
68503
+ protocolTypeShrink?: string;
68342
68504
  resourceOwnerId?: number;
68343
68505
  /**
68344
68506
  * @remarks
@@ -87029,6 +87191,14 @@ export declare class DescribeCustomizedDictUploadInfoResponseBody extends $dara.
87029
87191
  * BDEDEEE7-AC25-559E-8C12-5168B139****
87030
87192
  */
87031
87193
  requestId?: string;
87194
+ /**
87195
+ * @remarks
87196
+ * The security token.
87197
+ *
87198
+ * @example
87199
+ * ***
87200
+ */
87201
+ securityToken?: string;
87032
87202
  /**
87033
87203
  * @remarks
87034
87204
  * The OSS signature.
@@ -136808,6 +136978,116 @@ export declare class ModifyAntiBruteForceRuleRequest extends $dara.Model {
136808
136978
  * TestRule
136809
136979
  */
136810
136980
  name?: string;
136981
+ protocolType?: ModifyAntiBruteForceRuleRequestProtocolType;
136982
+ resourceOwnerId?: number;
136983
+ /**
136984
+ * @remarks
136985
+ * The source IP address of the request.
136986
+ *
136987
+ * @example
136988
+ * 1.2.XX.XX
136989
+ */
136990
+ sourceIp?: string;
136991
+ /**
136992
+ * @remarks
136993
+ * The period of time during which logon failures from an account are measured. Unit: minutes. Valid values:
136994
+ *
136995
+ * * **1**
136996
+ * * **2**
136997
+ * * **5**
136998
+ * * **10**
136999
+ * * **15**
137000
+ *
137001
+ * @example
137002
+ * 1
137003
+ */
137004
+ span?: number;
137005
+ /**
137006
+ * @remarks
137007
+ * An array consisting of the UUIDs of the servers to which the defense rule is applied.
137008
+ *
137009
+ * @example
137010
+ * uuid-13213-dasda
137011
+ */
137012
+ uuidList?: string[];
137013
+ static names(): {
137014
+ [key: string]: string;
137015
+ };
137016
+ static types(): {
137017
+ [key: string]: any;
137018
+ };
137019
+ validate(): void;
137020
+ constructor(map?: {
137021
+ [key: string]: any;
137022
+ });
137023
+ }
137024
+ export declare class ModifyAntiBruteForceRuleShrinkRequest extends $dara.Model {
137025
+ /**
137026
+ * @remarks
137027
+ * Specifies whether to set the defense rule as the default rule. Valid values:
137028
+ *
137029
+ * * **true**: yes
137030
+ * * **false**: no
137031
+ *
137032
+ * @example
137033
+ * true
137034
+ */
137035
+ defaultRule?: boolean;
137036
+ /**
137037
+ * @remarks
137038
+ * The threshold of logon failures that you specify. Valid values:
137039
+ *
137040
+ * * **2**
137041
+ * * **3**
137042
+ * * **4**
137043
+ * * **5**
137044
+ * * **10**
137045
+ * * **50**
137046
+ * * **80**
137047
+ * * **100**
137048
+ *
137049
+ * @example
137050
+ * 10
137051
+ */
137052
+ failCount?: number;
137053
+ /**
137054
+ * @remarks
137055
+ * The period of time during which logons from an account are not allowed. Unit: minutes. Valid values:
137056
+ *
137057
+ * * **5**
137058
+ * * **15**
137059
+ * * **30**
137060
+ * * **60**
137061
+ * * **120**
137062
+ * * **360**
137063
+ * * **720**
137064
+ * * **1440**
137065
+ * * **10080**
137066
+ * * **52560000**: permanent
137067
+ *
137068
+ * @example
137069
+ * 5
137070
+ */
137071
+ forbiddenTime?: number;
137072
+ /**
137073
+ * @remarks
137074
+ * The ID of the defense rule.
137075
+ *
137076
+ * This parameter is required.
137077
+ *
137078
+ * @example
137079
+ * 65778
137080
+ */
137081
+ id?: number;
137082
+ /**
137083
+ * @remarks
137084
+ * The name of the defense rule.
137085
+ *
137086
+ * @example
137087
+ * TestRule
137088
+ */
137089
+ name?: string;
137090
+ protocolTypeShrink?: string;
136811
137091
  resourceOwnerId?: number;
136812
137092
  /**
136813
137093
  * @remarks
@@ -157684,11 +157964,11 @@ export default class Client extends OpenApi {
157684
157964
  /**
157685
157965
  * Creates a defense rule against brute-force attacks.
157686
157966
  *
157687
- * @param request - CreateAntiBruteForceRuleRequest
157967
+ * @param tmpReq - CreateAntiBruteForceRuleRequest
157688
157968
  * @param runtime - runtime options for this request RuntimeOptions
157689
157969
  * @returns CreateAntiBruteForceRuleResponse
157690
157970
  */
157691
- createAntiBruteForceRuleWithOptions(request: CreateAntiBruteForceRuleRequest, runtime: $dara.RuntimeOptions): Promise<CreateAntiBruteForceRuleResponse>;
157971
+ createAntiBruteForceRuleWithOptions(tmpReq: CreateAntiBruteForceRuleRequest, runtime: $dara.RuntimeOptions): Promise<CreateAntiBruteForceRuleResponse>;
157692
157972
  /**
157693
157973
  * Creates a defense rule against brute-force attacks.
157694
157974
  *
@@ -167803,11 +168083,11 @@ export default class Client extends OpenApi {
167803
168083
  /**
167804
168084
  * Modifies a defense rule against brute-force attacks.
167805
168085
  *
167806
- * @param request - ModifyAntiBruteForceRuleRequest
168086
+ * @param tmpReq - ModifyAntiBruteForceRuleRequest
167807
168087
  * @param runtime - runtime options for this request RuntimeOptions
167808
168088
  * @returns ModifyAntiBruteForceRuleResponse
167809
168089
  */
167810
- modifyAntiBruteForceRuleWithOptions(request: ModifyAntiBruteForceRuleRequest, runtime: $dara.RuntimeOptions): Promise<ModifyAntiBruteForceRuleResponse>;
168090
+ modifyAntiBruteForceRuleWithOptions(tmpReq: ModifyAntiBruteForceRuleRequest, runtime: $dara.RuntimeOptions): Promise<ModifyAntiBruteForceRuleResponse>;
167811
168091
  /**
167812
168092
  * Modifies a defense rule against brute-force attacks.
167813
168093
  *