@alicloud/cloudfw20171207 1.1.5 → 1.1.7
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 +29 -3
- package/dist/client.js +59 -9
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +82 -13
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -1629,6 +1629,7 @@ export class DescribeInvadeEventListResponse extends $tea.Model {
|
|
|
1629
1629
|
}
|
|
1630
1630
|
|
|
1631
1631
|
export class DescribeOutgoingDestinationIPRequest extends $tea.Model {
|
|
1632
|
+
applicationName?: string;
|
|
1632
1633
|
currentPage?: string;
|
|
1633
1634
|
dstIP?: string;
|
|
1634
1635
|
endTime?: string;
|
|
@@ -1642,6 +1643,7 @@ export class DescribeOutgoingDestinationIPRequest extends $tea.Model {
|
|
|
1642
1643
|
startTime?: string;
|
|
1643
1644
|
static names(): { [key: string]: string } {
|
|
1644
1645
|
return {
|
|
1646
|
+
applicationName: 'ApplicationName',
|
|
1645
1647
|
currentPage: 'CurrentPage',
|
|
1646
1648
|
dstIP: 'DstIP',
|
|
1647
1649
|
endTime: 'EndTime',
|
|
@@ -1658,6 +1660,7 @@ export class DescribeOutgoingDestinationIPRequest extends $tea.Model {
|
|
|
1658
1660
|
|
|
1659
1661
|
static types(): { [key: string]: any } {
|
|
1660
1662
|
return {
|
|
1663
|
+
applicationName: 'string',
|
|
1661
1664
|
currentPage: 'string',
|
|
1662
1665
|
dstIP: 'string',
|
|
1663
1666
|
endTime: 'string',
|
|
@@ -1728,7 +1731,6 @@ export class DescribeOutgoingDestinationIPResponse extends $tea.Model {
|
|
|
1728
1731
|
}
|
|
1729
1732
|
|
|
1730
1733
|
export class DescribeOutgoingDomainRequest extends $tea.Model {
|
|
1731
|
-
categoryId?: string;
|
|
1732
1734
|
currentPage?: string;
|
|
1733
1735
|
domain?: string;
|
|
1734
1736
|
endTime?: string;
|
|
@@ -1740,7 +1742,6 @@ export class DescribeOutgoingDomainRequest extends $tea.Model {
|
|
|
1740
1742
|
startTime?: string;
|
|
1741
1743
|
static names(): { [key: string]: string } {
|
|
1742
1744
|
return {
|
|
1743
|
-
categoryId: 'CategoryId',
|
|
1744
1745
|
currentPage: 'CurrentPage',
|
|
1745
1746
|
domain: 'Domain',
|
|
1746
1747
|
endTime: 'EndTime',
|
|
@@ -1755,7 +1756,6 @@ export class DescribeOutgoingDomainRequest extends $tea.Model {
|
|
|
1755
1756
|
|
|
1756
1757
|
static types(): { [key: string]: any } {
|
|
1757
1758
|
return {
|
|
1758
|
-
categoryId: 'string',
|
|
1759
1759
|
currentPage: 'string',
|
|
1760
1760
|
domain: 'string',
|
|
1761
1761
|
endTime: 'string',
|
|
@@ -1983,9 +1983,11 @@ export class DescribeRiskEventGroupRequest extends $tea.Model {
|
|
|
1983
1983
|
firewallType?: string;
|
|
1984
1984
|
lang?: string;
|
|
1985
1985
|
noLocation?: string;
|
|
1986
|
+
order?: string;
|
|
1986
1987
|
pageSize?: string;
|
|
1987
1988
|
ruleResult?: string;
|
|
1988
1989
|
ruleSource?: string;
|
|
1990
|
+
sort?: string;
|
|
1989
1991
|
srcIP?: string;
|
|
1990
1992
|
srcNetworkInstanceId?: string;
|
|
1991
1993
|
startTime?: string;
|
|
@@ -2004,9 +2006,11 @@ export class DescribeRiskEventGroupRequest extends $tea.Model {
|
|
|
2004
2006
|
firewallType: 'FirewallType',
|
|
2005
2007
|
lang: 'Lang',
|
|
2006
2008
|
noLocation: 'NoLocation',
|
|
2009
|
+
order: 'Order',
|
|
2007
2010
|
pageSize: 'PageSize',
|
|
2008
2011
|
ruleResult: 'RuleResult',
|
|
2009
2012
|
ruleSource: 'RuleSource',
|
|
2013
|
+
sort: 'Sort',
|
|
2010
2014
|
srcIP: 'SrcIP',
|
|
2011
2015
|
srcNetworkInstanceId: 'SrcNetworkInstanceId',
|
|
2012
2016
|
startTime: 'StartTime',
|
|
@@ -2028,9 +2032,11 @@ export class DescribeRiskEventGroupRequest extends $tea.Model {
|
|
|
2028
2032
|
firewallType: 'string',
|
|
2029
2033
|
lang: 'string',
|
|
2030
2034
|
noLocation: 'string',
|
|
2035
|
+
order: 'string',
|
|
2031
2036
|
pageSize: 'string',
|
|
2032
2037
|
ruleResult: 'string',
|
|
2033
2038
|
ruleSource: 'string',
|
|
2039
|
+
sort: 'string',
|
|
2034
2040
|
srcIP: 'string',
|
|
2035
2041
|
srcNetworkInstanceId: 'string',
|
|
2036
2042
|
startTime: 'string',
|
|
@@ -4663,6 +4669,28 @@ export class DescribeInvadeEventListResponseBodyPageInfo extends $tea.Model {
|
|
|
4663
4669
|
}
|
|
4664
4670
|
}
|
|
4665
4671
|
|
|
4672
|
+
export class DescribeOutgoingDestinationIPResponseBodyDstIPListAddressGroupList extends $tea.Model {
|
|
4673
|
+
addressGroupName?: string;
|
|
4674
|
+
addressGroupUUID?: string;
|
|
4675
|
+
static names(): { [key: string]: string } {
|
|
4676
|
+
return {
|
|
4677
|
+
addressGroupName: 'AddressGroupName',
|
|
4678
|
+
addressGroupUUID: 'AddressGroupUUID',
|
|
4679
|
+
};
|
|
4680
|
+
}
|
|
4681
|
+
|
|
4682
|
+
static types(): { [key: string]: any } {
|
|
4683
|
+
return {
|
|
4684
|
+
addressGroupName: 'string',
|
|
4685
|
+
addressGroupUUID: 'string',
|
|
4686
|
+
};
|
|
4687
|
+
}
|
|
4688
|
+
|
|
4689
|
+
constructor(map?: { [key: string]: any }) {
|
|
4690
|
+
super(map);
|
|
4691
|
+
}
|
|
4692
|
+
}
|
|
4693
|
+
|
|
4666
4694
|
export class DescribeOutgoingDestinationIPResponseBodyDstIPListApplicationPortList extends $tea.Model {
|
|
4667
4695
|
applicationName?: string;
|
|
4668
4696
|
port?: number;
|
|
@@ -4686,12 +4714,14 @@ export class DescribeOutgoingDestinationIPResponseBodyDstIPListApplicationPortLi
|
|
|
4686
4714
|
}
|
|
4687
4715
|
|
|
4688
4716
|
export class DescribeOutgoingDestinationIPResponseBodyDstIPListTagList extends $tea.Model {
|
|
4717
|
+
classId?: string;
|
|
4689
4718
|
riskLevel?: number;
|
|
4690
4719
|
tagDescribe?: string;
|
|
4691
4720
|
tagId?: string;
|
|
4692
4721
|
tagName?: string;
|
|
4693
4722
|
static names(): { [key: string]: string } {
|
|
4694
4723
|
return {
|
|
4724
|
+
classId: 'ClassId',
|
|
4695
4725
|
riskLevel: 'RiskLevel',
|
|
4696
4726
|
tagDescribe: 'TagDescribe',
|
|
4697
4727
|
tagId: 'TagId',
|
|
@@ -4701,6 +4731,7 @@ export class DescribeOutgoingDestinationIPResponseBodyDstIPListTagList extends $
|
|
|
4701
4731
|
|
|
4702
4732
|
static types(): { [key: string]: any } {
|
|
4703
4733
|
return {
|
|
4734
|
+
classId: 'string',
|
|
4704
4735
|
riskLevel: 'number',
|
|
4705
4736
|
tagDescribe: 'string',
|
|
4706
4737
|
tagId: 'string',
|
|
@@ -4717,43 +4748,49 @@ export class DescribeOutgoingDestinationIPResponseBodyDstIPList extends $tea.Mod
|
|
|
4717
4748
|
aclCoverage?: string;
|
|
4718
4749
|
aclRecommendDetail?: string;
|
|
4719
4750
|
aclStatus?: string;
|
|
4720
|
-
|
|
4721
|
-
addressGroupUUID?: string;
|
|
4751
|
+
addressGroupList?: DescribeOutgoingDestinationIPResponseBodyDstIPListAddressGroupList[];
|
|
4722
4752
|
applicationPortList?: DescribeOutgoingDestinationIPResponseBodyDstIPListApplicationPortList[];
|
|
4753
|
+
categoryClassId?: string;
|
|
4723
4754
|
categoryId?: string;
|
|
4724
4755
|
categoryName?: string;
|
|
4725
4756
|
dstIP?: string;
|
|
4726
4757
|
groupName?: string;
|
|
4758
|
+
hasAcl?: string;
|
|
4727
4759
|
hasAclRecommend?: boolean;
|
|
4728
4760
|
inBytes?: number;
|
|
4729
4761
|
isMarkNormal?: boolean;
|
|
4730
4762
|
outBytes?: number;
|
|
4731
4763
|
ruleId?: string;
|
|
4732
4764
|
ruleName?: string;
|
|
4765
|
+
securityReason?: string;
|
|
4733
4766
|
securitySuggest?: string;
|
|
4734
4767
|
sessionCount?: number;
|
|
4735
4768
|
tagList?: DescribeOutgoingDestinationIPResponseBodyDstIPListTagList[];
|
|
4769
|
+
totalBytes?: string;
|
|
4736
4770
|
static names(): { [key: string]: string } {
|
|
4737
4771
|
return {
|
|
4738
4772
|
aclCoverage: 'AclCoverage',
|
|
4739
4773
|
aclRecommendDetail: 'AclRecommendDetail',
|
|
4740
4774
|
aclStatus: 'AclStatus',
|
|
4741
|
-
|
|
4742
|
-
addressGroupUUID: 'AddressGroupUUID',
|
|
4775
|
+
addressGroupList: 'AddressGroupList',
|
|
4743
4776
|
applicationPortList: 'ApplicationPortList',
|
|
4777
|
+
categoryClassId: 'CategoryClassId',
|
|
4744
4778
|
categoryId: 'CategoryId',
|
|
4745
4779
|
categoryName: 'CategoryName',
|
|
4746
4780
|
dstIP: 'DstIP',
|
|
4747
4781
|
groupName: 'GroupName',
|
|
4782
|
+
hasAcl: 'HasAcl',
|
|
4748
4783
|
hasAclRecommend: 'HasAclRecommend',
|
|
4749
4784
|
inBytes: 'InBytes',
|
|
4750
4785
|
isMarkNormal: 'IsMarkNormal',
|
|
4751
4786
|
outBytes: 'OutBytes',
|
|
4752
4787
|
ruleId: 'RuleId',
|
|
4753
4788
|
ruleName: 'RuleName',
|
|
4789
|
+
securityReason: 'SecurityReason',
|
|
4754
4790
|
securitySuggest: 'SecuritySuggest',
|
|
4755
4791
|
sessionCount: 'SessionCount',
|
|
4756
4792
|
tagList: 'TagList',
|
|
4793
|
+
totalBytes: 'TotalBytes',
|
|
4757
4794
|
};
|
|
4758
4795
|
}
|
|
4759
4796
|
|
|
@@ -4762,22 +4799,25 @@ export class DescribeOutgoingDestinationIPResponseBodyDstIPList extends $tea.Mod
|
|
|
4762
4799
|
aclCoverage: 'string',
|
|
4763
4800
|
aclRecommendDetail: 'string',
|
|
4764
4801
|
aclStatus: 'string',
|
|
4765
|
-
|
|
4766
|
-
addressGroupUUID: 'string',
|
|
4802
|
+
addressGroupList: { 'type': 'array', 'itemType': DescribeOutgoingDestinationIPResponseBodyDstIPListAddressGroupList },
|
|
4767
4803
|
applicationPortList: { 'type': 'array', 'itemType': DescribeOutgoingDestinationIPResponseBodyDstIPListApplicationPortList },
|
|
4804
|
+
categoryClassId: 'string',
|
|
4768
4805
|
categoryId: 'string',
|
|
4769
4806
|
categoryName: 'string',
|
|
4770
4807
|
dstIP: 'string',
|
|
4771
4808
|
groupName: 'string',
|
|
4809
|
+
hasAcl: 'string',
|
|
4772
4810
|
hasAclRecommend: 'boolean',
|
|
4773
4811
|
inBytes: 'number',
|
|
4774
4812
|
isMarkNormal: 'boolean',
|
|
4775
4813
|
outBytes: 'number',
|
|
4776
4814
|
ruleId: 'string',
|
|
4777
4815
|
ruleName: 'string',
|
|
4816
|
+
securityReason: 'string',
|
|
4778
4817
|
securitySuggest: 'string',
|
|
4779
4818
|
sessionCount: 'number',
|
|
4780
4819
|
tagList: { 'type': 'array', 'itemType': DescribeOutgoingDestinationIPResponseBodyDstIPListTagList },
|
|
4820
|
+
totalBytes: 'string',
|
|
4781
4821
|
};
|
|
4782
4822
|
}
|
|
4783
4823
|
|
|
@@ -4787,12 +4827,14 @@ export class DescribeOutgoingDestinationIPResponseBodyDstIPList extends $tea.Mod
|
|
|
4787
4827
|
}
|
|
4788
4828
|
|
|
4789
4829
|
export class DescribeOutgoingDomainResponseBodyDomainListTagList extends $tea.Model {
|
|
4830
|
+
classId?: string;
|
|
4790
4831
|
riskLevel?: number;
|
|
4791
4832
|
tagDescribe?: string;
|
|
4792
4833
|
tagId?: string;
|
|
4793
4834
|
tagName?: string;
|
|
4794
4835
|
static names(): { [key: string]: string } {
|
|
4795
4836
|
return {
|
|
4837
|
+
classId: 'ClassId',
|
|
4796
4838
|
riskLevel: 'RiskLevel',
|
|
4797
4839
|
tagDescribe: 'TagDescribe',
|
|
4798
4840
|
tagId: 'TagId',
|
|
@@ -4802,6 +4844,7 @@ export class DescribeOutgoingDomainResponseBodyDomainListTagList extends $tea.Mo
|
|
|
4802
4844
|
|
|
4803
4845
|
static types(): { [key: string]: any } {
|
|
4804
4846
|
return {
|
|
4847
|
+
classId: 'string',
|
|
4805
4848
|
riskLevel: 'number',
|
|
4806
4849
|
tagDescribe: 'string',
|
|
4807
4850
|
tagId: 'string',
|
|
@@ -4820,19 +4863,25 @@ export class DescribeOutgoingDomainResponseBodyDomainList extends $tea.Model {
|
|
|
4820
4863
|
aclStatus?: string;
|
|
4821
4864
|
addressGroupName?: string;
|
|
4822
4865
|
addressGroupUUID?: string;
|
|
4866
|
+
business?: string;
|
|
4867
|
+
categoryClassId?: string;
|
|
4823
4868
|
categoryId?: string;
|
|
4824
4869
|
categoryName?: string;
|
|
4825
4870
|
domain?: string;
|
|
4826
4871
|
groupName?: string;
|
|
4872
|
+
hasAcl?: string;
|
|
4827
4873
|
hasAclRecommend?: boolean;
|
|
4828
4874
|
inBytes?: number;
|
|
4829
4875
|
isMarkNormal?: boolean;
|
|
4876
|
+
organization?: string;
|
|
4830
4877
|
outBytes?: number;
|
|
4831
4878
|
ruleId?: string;
|
|
4832
4879
|
ruleName?: string;
|
|
4880
|
+
securityReason?: string;
|
|
4833
4881
|
securitySuggest?: string;
|
|
4834
4882
|
sessionCount?: number;
|
|
4835
4883
|
tagList?: DescribeOutgoingDomainResponseBodyDomainListTagList[];
|
|
4884
|
+
totalBytes?: string;
|
|
4836
4885
|
static names(): { [key: string]: string } {
|
|
4837
4886
|
return {
|
|
4838
4887
|
aclCoverage: 'AclCoverage',
|
|
@@ -4840,19 +4889,25 @@ export class DescribeOutgoingDomainResponseBodyDomainList extends $tea.Model {
|
|
|
4840
4889
|
aclStatus: 'AclStatus',
|
|
4841
4890
|
addressGroupName: 'AddressGroupName',
|
|
4842
4891
|
addressGroupUUID: 'AddressGroupUUID',
|
|
4892
|
+
business: 'Business',
|
|
4893
|
+
categoryClassId: 'CategoryClassId',
|
|
4843
4894
|
categoryId: 'CategoryId',
|
|
4844
4895
|
categoryName: 'CategoryName',
|
|
4845
4896
|
domain: 'Domain',
|
|
4846
4897
|
groupName: 'GroupName',
|
|
4898
|
+
hasAcl: 'HasAcl',
|
|
4847
4899
|
hasAclRecommend: 'HasAclRecommend',
|
|
4848
4900
|
inBytes: 'InBytes',
|
|
4849
4901
|
isMarkNormal: 'IsMarkNormal',
|
|
4902
|
+
organization: 'Organization',
|
|
4850
4903
|
outBytes: 'OutBytes',
|
|
4851
4904
|
ruleId: 'RuleId',
|
|
4852
4905
|
ruleName: 'RuleName',
|
|
4906
|
+
securityReason: 'SecurityReason',
|
|
4853
4907
|
securitySuggest: 'SecuritySuggest',
|
|
4854
4908
|
sessionCount: 'SessionCount',
|
|
4855
4909
|
tagList: 'TagList',
|
|
4910
|
+
totalBytes: 'TotalBytes',
|
|
4856
4911
|
};
|
|
4857
4912
|
}
|
|
4858
4913
|
|
|
@@ -4863,19 +4918,25 @@ export class DescribeOutgoingDomainResponseBodyDomainList extends $tea.Model {
|
|
|
4863
4918
|
aclStatus: 'string',
|
|
4864
4919
|
addressGroupName: 'string',
|
|
4865
4920
|
addressGroupUUID: 'string',
|
|
4921
|
+
business: 'string',
|
|
4922
|
+
categoryClassId: 'string',
|
|
4866
4923
|
categoryId: 'string',
|
|
4867
4924
|
categoryName: 'string',
|
|
4868
4925
|
domain: 'string',
|
|
4869
4926
|
groupName: 'string',
|
|
4927
|
+
hasAcl: 'string',
|
|
4870
4928
|
hasAclRecommend: 'boolean',
|
|
4871
4929
|
inBytes: 'number',
|
|
4872
4930
|
isMarkNormal: 'boolean',
|
|
4931
|
+
organization: 'string',
|
|
4873
4932
|
outBytes: 'number',
|
|
4874
4933
|
ruleId: 'string',
|
|
4875
4934
|
ruleName: 'string',
|
|
4935
|
+
securityReason: 'string',
|
|
4876
4936
|
securitySuggest: 'string',
|
|
4877
4937
|
sessionCount: 'number',
|
|
4878
4938
|
tagList: { 'type': 'array', 'itemType': DescribeOutgoingDomainResponseBodyDomainListTagList },
|
|
4939
|
+
totalBytes: 'string',
|
|
4879
4940
|
};
|
|
4880
4941
|
}
|
|
4881
4942
|
|
|
@@ -6991,6 +7052,10 @@ export default class Client extends OpenApi {
|
|
|
6991
7052
|
async describeOutgoingDestinationIPWithOptions(request: DescribeOutgoingDestinationIPRequest, runtime: $Util.RuntimeOptions): Promise<DescribeOutgoingDestinationIPResponse> {
|
|
6992
7053
|
Util.validateModel(request);
|
|
6993
7054
|
let query = { };
|
|
7055
|
+
if (!Util.isUnset(request.applicationName)) {
|
|
7056
|
+
query["ApplicationName"] = request.applicationName;
|
|
7057
|
+
}
|
|
7058
|
+
|
|
6994
7059
|
if (!Util.isUnset(request.currentPage)) {
|
|
6995
7060
|
query["CurrentPage"] = request.currentPage;
|
|
6996
7061
|
}
|
|
@@ -7060,10 +7125,6 @@ export default class Client extends OpenApi {
|
|
|
7060
7125
|
async describeOutgoingDomainWithOptions(request: DescribeOutgoingDomainRequest, runtime: $Util.RuntimeOptions): Promise<DescribeOutgoingDomainResponse> {
|
|
7061
7126
|
Util.validateModel(request);
|
|
7062
7127
|
let query = { };
|
|
7063
|
-
if (!Util.isUnset(request.categoryId)) {
|
|
7064
|
-
query["CategoryId"] = request.categoryId;
|
|
7065
|
-
}
|
|
7066
|
-
|
|
7067
7128
|
if (!Util.isUnset(request.currentPage)) {
|
|
7068
7129
|
query["CurrentPage"] = request.currentPage;
|
|
7069
7130
|
}
|
|
@@ -7255,6 +7316,10 @@ export default class Client extends OpenApi {
|
|
|
7255
7316
|
query["NoLocation"] = request.noLocation;
|
|
7256
7317
|
}
|
|
7257
7318
|
|
|
7319
|
+
if (!Util.isUnset(request.order)) {
|
|
7320
|
+
query["Order"] = request.order;
|
|
7321
|
+
}
|
|
7322
|
+
|
|
7258
7323
|
if (!Util.isUnset(request.pageSize)) {
|
|
7259
7324
|
query["PageSize"] = request.pageSize;
|
|
7260
7325
|
}
|
|
@@ -7267,6 +7332,10 @@ export default class Client extends OpenApi {
|
|
|
7267
7332
|
query["RuleSource"] = request.ruleSource;
|
|
7268
7333
|
}
|
|
7269
7334
|
|
|
7335
|
+
if (!Util.isUnset(request.sort)) {
|
|
7336
|
+
query["Sort"] = request.sort;
|
|
7337
|
+
}
|
|
7338
|
+
|
|
7270
7339
|
if (!Util.isUnset(request.srcIP)) {
|
|
7271
7340
|
query["SrcIP"] = request.srcIP;
|
|
7272
7341
|
}
|