@alicloud/cloudfw20171207 1.1.9 → 1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/cloudfw20171207",
3
- "version": "1.1.9",
3
+ "version": "1.2.0",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -1537,6 +1537,7 @@ export class DescribeInvadeEventListResponse extends $tea.Model {
1537
1537
 
1538
1538
  export class DescribeOutgoingDestinationIPRequest extends $tea.Model {
1539
1539
  applicationName?: string;
1540
+ categoryId?: string;
1540
1541
  currentPage?: string;
1541
1542
  dstIP?: string;
1542
1543
  endTime?: string;
@@ -1548,9 +1549,11 @@ export class DescribeOutgoingDestinationIPRequest extends $tea.Model {
1548
1549
  publicIP?: string;
1549
1550
  sort?: string;
1550
1551
  startTime?: string;
1552
+ tagIdNew?: string;
1551
1553
  static names(): { [key: string]: string } {
1552
1554
  return {
1553
1555
  applicationName: 'ApplicationName',
1556
+ categoryId: 'CategoryId',
1554
1557
  currentPage: 'CurrentPage',
1555
1558
  dstIP: 'DstIP',
1556
1559
  endTime: 'EndTime',
@@ -1562,12 +1565,14 @@ export class DescribeOutgoingDestinationIPRequest extends $tea.Model {
1562
1565
  publicIP: 'PublicIP',
1563
1566
  sort: 'Sort',
1564
1567
  startTime: 'StartTime',
1568
+ tagIdNew: 'TagIdNew',
1565
1569
  };
1566
1570
  }
1567
1571
 
1568
1572
  static types(): { [key: string]: any } {
1569
1573
  return {
1570
1574
  applicationName: 'string',
1575
+ categoryId: 'string',
1571
1576
  currentPage: 'string',
1572
1577
  dstIP: 'string',
1573
1578
  endTime: 'string',
@@ -1579,6 +1584,7 @@ export class DescribeOutgoingDestinationIPRequest extends $tea.Model {
1579
1584
  publicIP: 'string',
1580
1585
  sort: 'string',
1581
1586
  startTime: 'string',
1587
+ tagIdNew: 'string',
1582
1588
  };
1583
1589
  }
1584
1590
 
@@ -1638,6 +1644,7 @@ export class DescribeOutgoingDestinationIPResponse extends $tea.Model {
1638
1644
  }
1639
1645
 
1640
1646
  export class DescribeOutgoingDomainRequest extends $tea.Model {
1647
+ categoryId?: string;
1641
1648
  currentPage?: string;
1642
1649
  domain?: string;
1643
1650
  endTime?: string;
@@ -1647,8 +1654,10 @@ export class DescribeOutgoingDomainRequest extends $tea.Model {
1647
1654
  publicIP?: string;
1648
1655
  sort?: string;
1649
1656
  startTime?: string;
1657
+ tagIdNew?: string;
1650
1658
  static names(): { [key: string]: string } {
1651
1659
  return {
1660
+ categoryId: 'CategoryId',
1652
1661
  currentPage: 'CurrentPage',
1653
1662
  domain: 'Domain',
1654
1663
  endTime: 'EndTime',
@@ -1658,11 +1667,13 @@ export class DescribeOutgoingDomainRequest extends $tea.Model {
1658
1667
  publicIP: 'PublicIP',
1659
1668
  sort: 'Sort',
1660
1669
  startTime: 'StartTime',
1670
+ tagIdNew: 'TagIdNew',
1661
1671
  };
1662
1672
  }
1663
1673
 
1664
1674
  static types(): { [key: string]: any } {
1665
1675
  return {
1676
+ categoryId: 'string',
1666
1677
  currentPage: 'string',
1667
1678
  domain: 'string',
1668
1679
  endTime: 'string',
@@ -1672,6 +1683,7 @@ export class DescribeOutgoingDomainRequest extends $tea.Model {
1672
1683
  publicIP: 'string',
1673
1684
  sort: 'string',
1674
1685
  startTime: 'string',
1686
+ tagIdNew: 'string',
1675
1687
  };
1676
1688
  }
1677
1689
 
@@ -2810,6 +2822,123 @@ export class DescribeVpcFirewallPolicyPriorUsedResponse extends $tea.Model {
2810
2822
  }
2811
2823
  }
2812
2824
 
2825
+ export class DescribeVulnerabilityProtectedListRequest extends $tea.Model {
2826
+ attackType?: string;
2827
+ buyVersion?: number;
2828
+ currentPage?: string;
2829
+ endTime?: string;
2830
+ lang?: string;
2831
+ order?: string;
2832
+ pageSize?: string;
2833
+ sortKey?: string;
2834
+ sourceIp?: string;
2835
+ startTime?: string;
2836
+ userType?: string;
2837
+ vulnCveName?: string;
2838
+ vulnLevel?: string;
2839
+ vulnResource?: string;
2840
+ vulnStatus?: string;
2841
+ vulnType?: string;
2842
+ static names(): { [key: string]: string } {
2843
+ return {
2844
+ attackType: 'AttackType',
2845
+ buyVersion: 'BuyVersion',
2846
+ currentPage: 'CurrentPage',
2847
+ endTime: 'EndTime',
2848
+ lang: 'Lang',
2849
+ order: 'Order',
2850
+ pageSize: 'PageSize',
2851
+ sortKey: 'SortKey',
2852
+ sourceIp: 'SourceIp',
2853
+ startTime: 'StartTime',
2854
+ userType: 'UserType',
2855
+ vulnCveName: 'VulnCveName',
2856
+ vulnLevel: 'VulnLevel',
2857
+ vulnResource: 'VulnResource',
2858
+ vulnStatus: 'VulnStatus',
2859
+ vulnType: 'VulnType',
2860
+ };
2861
+ }
2862
+
2863
+ static types(): { [key: string]: any } {
2864
+ return {
2865
+ attackType: 'string',
2866
+ buyVersion: 'number',
2867
+ currentPage: 'string',
2868
+ endTime: 'string',
2869
+ lang: 'string',
2870
+ order: 'string',
2871
+ pageSize: 'string',
2872
+ sortKey: 'string',
2873
+ sourceIp: 'string',
2874
+ startTime: 'string',
2875
+ userType: 'string',
2876
+ vulnCveName: 'string',
2877
+ vulnLevel: 'string',
2878
+ vulnResource: 'string',
2879
+ vulnStatus: 'string',
2880
+ vulnType: 'string',
2881
+ };
2882
+ }
2883
+
2884
+ constructor(map?: { [key: string]: any }) {
2885
+ super(map);
2886
+ }
2887
+ }
2888
+
2889
+ export class DescribeVulnerabilityProtectedListResponseBody extends $tea.Model {
2890
+ requestId?: string;
2891
+ totalCount?: number;
2892
+ vulnList?: DescribeVulnerabilityProtectedListResponseBodyVulnList[];
2893
+ zeroResourceCount?: number;
2894
+ static names(): { [key: string]: string } {
2895
+ return {
2896
+ requestId: 'RequestId',
2897
+ totalCount: 'TotalCount',
2898
+ vulnList: 'VulnList',
2899
+ zeroResourceCount: 'ZeroResourceCount',
2900
+ };
2901
+ }
2902
+
2903
+ static types(): { [key: string]: any } {
2904
+ return {
2905
+ requestId: 'string',
2906
+ totalCount: 'number',
2907
+ vulnList: { 'type': 'array', 'itemType': DescribeVulnerabilityProtectedListResponseBodyVulnList },
2908
+ zeroResourceCount: 'number',
2909
+ };
2910
+ }
2911
+
2912
+ constructor(map?: { [key: string]: any }) {
2913
+ super(map);
2914
+ }
2915
+ }
2916
+
2917
+ export class DescribeVulnerabilityProtectedListResponse extends $tea.Model {
2918
+ headers: { [key: string]: string };
2919
+ statusCode: number;
2920
+ body: DescribeVulnerabilityProtectedListResponseBody;
2921
+ static names(): { [key: string]: string } {
2922
+ return {
2923
+ headers: 'headers',
2924
+ statusCode: 'statusCode',
2925
+ body: 'body',
2926
+ };
2927
+ }
2928
+
2929
+ static types(): { [key: string]: any } {
2930
+ return {
2931
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2932
+ statusCode: 'number',
2933
+ body: DescribeVulnerabilityProtectedListResponseBody,
2934
+ };
2935
+ }
2936
+
2937
+ constructor(map?: { [key: string]: any }) {
2938
+ super(map);
2939
+ }
2940
+ }
2941
+
2813
2942
  export class ModifyAddressBookRequest extends $tea.Model {
2814
2943
  addressList?: string;
2815
2944
  autoAddTagEcs?: string;
@@ -5875,6 +6004,125 @@ export class DescribeVpcFirewallListResponseBodyVpcFirewalls extends $tea.Model
5875
6004
  }
5876
6005
  }
5877
6006
 
6007
+ export class DescribeVulnerabilityProtectedListResponseBodyVulnListResourceList extends $tea.Model {
6008
+ eip?: string;
6009
+ internetIp?: string;
6010
+ intranetIp?: string;
6011
+ regionId?: string;
6012
+ resourceId?: string;
6013
+ resourceName?: string;
6014
+ resourceType?: string;
6015
+ vulnStatus?: string;
6016
+ static names(): { [key: string]: string } {
6017
+ return {
6018
+ eip: 'Eip',
6019
+ internetIp: 'InternetIp',
6020
+ intranetIp: 'IntranetIp',
6021
+ regionId: 'RegionId',
6022
+ resourceId: 'ResourceId',
6023
+ resourceName: 'ResourceName',
6024
+ resourceType: 'ResourceType',
6025
+ vulnStatus: 'VulnStatus',
6026
+ };
6027
+ }
6028
+
6029
+ static types(): { [key: string]: any } {
6030
+ return {
6031
+ eip: 'string',
6032
+ internetIp: 'string',
6033
+ intranetIp: 'string',
6034
+ regionId: 'string',
6035
+ resourceId: 'string',
6036
+ resourceName: 'string',
6037
+ resourceType: 'string',
6038
+ vulnStatus: 'string',
6039
+ };
6040
+ }
6041
+
6042
+ constructor(map?: { [key: string]: any }) {
6043
+ super(map);
6044
+ }
6045
+ }
6046
+
6047
+ export class DescribeVulnerabilityProtectedListResponseBodyVulnList extends $tea.Model {
6048
+ attackCnt?: number;
6049
+ attackType?: number;
6050
+ basicRuleIds?: string;
6051
+ cveId?: string;
6052
+ firstTime?: number;
6053
+ highlightTag?: number;
6054
+ lastTime?: number;
6055
+ needOpenBasicRule?: boolean;
6056
+ needOpenBasicRuleUuids?: string;
6057
+ needOpenRunMode?: boolean;
6058
+ needOpenVirtualPatche?: boolean;
6059
+ needOpenVirtualPatcheUuids?: string;
6060
+ needRuleClass?: number;
6061
+ resourceCnt?: number;
6062
+ resourceList?: DescribeVulnerabilityProtectedListResponseBodyVulnListResourceList[];
6063
+ virtualPatcheIds?: string;
6064
+ vulnKey?: string;
6065
+ vulnLevel?: string;
6066
+ vulnName?: string;
6067
+ vulnStatus?: string;
6068
+ vulnType?: string;
6069
+ static names(): { [key: string]: string } {
6070
+ return {
6071
+ attackCnt: 'AttackCnt',
6072
+ attackType: 'AttackType',
6073
+ basicRuleIds: 'BasicRuleIds',
6074
+ cveId: 'CveId',
6075
+ firstTime: 'FirstTime',
6076
+ highlightTag: 'HighlightTag',
6077
+ lastTime: 'LastTime',
6078
+ needOpenBasicRule: 'NeedOpenBasicRule',
6079
+ needOpenBasicRuleUuids: 'NeedOpenBasicRuleUuids',
6080
+ needOpenRunMode: 'NeedOpenRunMode',
6081
+ needOpenVirtualPatche: 'NeedOpenVirtualPatche',
6082
+ needOpenVirtualPatcheUuids: 'NeedOpenVirtualPatcheUuids',
6083
+ needRuleClass: 'NeedRuleClass',
6084
+ resourceCnt: 'ResourceCnt',
6085
+ resourceList: 'ResourceList',
6086
+ virtualPatcheIds: 'VirtualPatcheIds',
6087
+ vulnKey: 'VulnKey',
6088
+ vulnLevel: 'VulnLevel',
6089
+ vulnName: 'VulnName',
6090
+ vulnStatus: 'VulnStatus',
6091
+ vulnType: 'VulnType',
6092
+ };
6093
+ }
6094
+
6095
+ static types(): { [key: string]: any } {
6096
+ return {
6097
+ attackCnt: 'number',
6098
+ attackType: 'number',
6099
+ basicRuleIds: 'string',
6100
+ cveId: 'string',
6101
+ firstTime: 'number',
6102
+ highlightTag: 'number',
6103
+ lastTime: 'number',
6104
+ needOpenBasicRule: 'boolean',
6105
+ needOpenBasicRuleUuids: 'string',
6106
+ needOpenRunMode: 'boolean',
6107
+ needOpenVirtualPatche: 'boolean',
6108
+ needOpenVirtualPatcheUuids: 'string',
6109
+ needRuleClass: 'number',
6110
+ resourceCnt: 'number',
6111
+ resourceList: { 'type': 'array', 'itemType': DescribeVulnerabilityProtectedListResponseBodyVulnListResourceList },
6112
+ virtualPatcheIds: 'string',
6113
+ vulnKey: 'string',
6114
+ vulnLevel: 'string',
6115
+ vulnName: 'string',
6116
+ vulnStatus: 'string',
6117
+ vulnType: 'string',
6118
+ };
6119
+ }
6120
+
6121
+ constructor(map?: { [key: string]: any }) {
6122
+ super(map);
6123
+ }
6124
+ }
6125
+
5878
6126
  export class ModifyAddressBookRequestTagList extends $tea.Model {
5879
6127
  tagKey?: string;
5880
6128
  tagValue?: string;
@@ -6919,6 +7167,10 @@ export default class Client extends OpenApi {
6919
7167
  query["ApplicationName"] = request.applicationName;
6920
7168
  }
6921
7169
 
7170
+ if (!Util.isUnset(request.categoryId)) {
7171
+ query["CategoryId"] = request.categoryId;
7172
+ }
7173
+
6922
7174
  if (!Util.isUnset(request.currentPage)) {
6923
7175
  query["CurrentPage"] = request.currentPage;
6924
7176
  }
@@ -6963,6 +7215,10 @@ export default class Client extends OpenApi {
6963
7215
  query["StartTime"] = request.startTime;
6964
7216
  }
6965
7217
 
7218
+ if (!Util.isUnset(request.tagIdNew)) {
7219
+ query["TagIdNew"] = request.tagIdNew;
7220
+ }
7221
+
6966
7222
  let req = new $OpenApi.OpenApiRequest({
6967
7223
  query: OpenApiUtil.query(query),
6968
7224
  });
@@ -6988,6 +7244,10 @@ export default class Client extends OpenApi {
6988
7244
  async describeOutgoingDomainWithOptions(request: DescribeOutgoingDomainRequest, runtime: $Util.RuntimeOptions): Promise<DescribeOutgoingDomainResponse> {
6989
7245
  Util.validateModel(request);
6990
7246
  let query = { };
7247
+ if (!Util.isUnset(request.categoryId)) {
7248
+ query["CategoryId"] = request.categoryId;
7249
+ }
7250
+
6991
7251
  if (!Util.isUnset(request.currentPage)) {
6992
7252
  query["CurrentPage"] = request.currentPage;
6993
7253
  }
@@ -7024,6 +7284,10 @@ export default class Client extends OpenApi {
7024
7284
  query["StartTime"] = request.startTime;
7025
7285
  }
7026
7286
 
7287
+ if (!Util.isUnset(request.tagIdNew)) {
7288
+ query["TagIdNew"] = request.tagIdNew;
7289
+ }
7290
+
7027
7291
  let req = new $OpenApi.OpenApiRequest({
7028
7292
  query: OpenApiUtil.query(query),
7029
7293
  });
@@ -7686,6 +7950,99 @@ export default class Client extends OpenApi {
7686
7950
  return await this.describeVpcFirewallPolicyPriorUsedWithOptions(request, runtime);
7687
7951
  }
7688
7952
 
7953
+ async describeVulnerabilityProtectedListWithOptions(request: DescribeVulnerabilityProtectedListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeVulnerabilityProtectedListResponse> {
7954
+ Util.validateModel(request);
7955
+ let query = { };
7956
+ if (!Util.isUnset(request.attackType)) {
7957
+ query["AttackType"] = request.attackType;
7958
+ }
7959
+
7960
+ if (!Util.isUnset(request.buyVersion)) {
7961
+ query["BuyVersion"] = request.buyVersion;
7962
+ }
7963
+
7964
+ if (!Util.isUnset(request.currentPage)) {
7965
+ query["CurrentPage"] = request.currentPage;
7966
+ }
7967
+
7968
+ if (!Util.isUnset(request.endTime)) {
7969
+ query["EndTime"] = request.endTime;
7970
+ }
7971
+
7972
+ if (!Util.isUnset(request.lang)) {
7973
+ query["Lang"] = request.lang;
7974
+ }
7975
+
7976
+ if (!Util.isUnset(request.lang)) {
7977
+ query["Lang"] = request.lang;
7978
+ }
7979
+
7980
+ if (!Util.isUnset(request.order)) {
7981
+ query["Order"] = request.order;
7982
+ }
7983
+
7984
+ if (!Util.isUnset(request.pageSize)) {
7985
+ query["PageSize"] = request.pageSize;
7986
+ }
7987
+
7988
+ if (!Util.isUnset(request.sortKey)) {
7989
+ query["SortKey"] = request.sortKey;
7990
+ }
7991
+
7992
+ if (!Util.isUnset(request.sourceIp)) {
7993
+ query["SourceIp"] = request.sourceIp;
7994
+ }
7995
+
7996
+ if (!Util.isUnset(request.startTime)) {
7997
+ query["StartTime"] = request.startTime;
7998
+ }
7999
+
8000
+ if (!Util.isUnset(request.userType)) {
8001
+ query["UserType"] = request.userType;
8002
+ }
8003
+
8004
+ if (!Util.isUnset(request.vulnCveName)) {
8005
+ query["VulnCveName"] = request.vulnCveName;
8006
+ }
8007
+
8008
+ if (!Util.isUnset(request.vulnLevel)) {
8009
+ query["VulnLevel"] = request.vulnLevel;
8010
+ }
8011
+
8012
+ if (!Util.isUnset(request.vulnResource)) {
8013
+ query["VulnResource"] = request.vulnResource;
8014
+ }
8015
+
8016
+ if (!Util.isUnset(request.vulnStatus)) {
8017
+ query["VulnStatus"] = request.vulnStatus;
8018
+ }
8019
+
8020
+ if (!Util.isUnset(request.vulnType)) {
8021
+ query["VulnType"] = request.vulnType;
8022
+ }
8023
+
8024
+ let req = new $OpenApi.OpenApiRequest({
8025
+ query: OpenApiUtil.query(query),
8026
+ });
8027
+ let params = new $OpenApi.Params({
8028
+ action: "DescribeVulnerabilityProtectedList",
8029
+ version: "2017-12-07",
8030
+ protocol: "HTTPS",
8031
+ pathname: "/",
8032
+ method: "POST",
8033
+ authType: "AK",
8034
+ style: "RPC",
8035
+ reqBodyType: "formData",
8036
+ bodyType: "json",
8037
+ });
8038
+ return $tea.cast<DescribeVulnerabilityProtectedListResponse>(await this.callApi(params, req, runtime), new DescribeVulnerabilityProtectedListResponse({}));
8039
+ }
8040
+
8041
+ async describeVulnerabilityProtectedList(request: DescribeVulnerabilityProtectedListRequest): Promise<DescribeVulnerabilityProtectedListResponse> {
8042
+ let runtime = new $Util.RuntimeOptions({ });
8043
+ return await this.describeVulnerabilityProtectedListWithOptions(request, runtime);
8044
+ }
8045
+
7689
8046
  async modifyAddressBookWithOptions(request: ModifyAddressBookRequest, runtime: $Util.RuntimeOptions): Promise<ModifyAddressBookResponse> {
7690
8047
  Util.validateModel(request);
7691
8048
  let query = { };