Skip to content

Commit 58e4e67

Browse files
committed
AEGIS SDK Auto Released By lai.zhoulai,Version:1.0.6
发布日志: 1, Add apis, DescribeScreenHostStatistics、DescribeScreenSummaryInfo、DescribeScreenAttackAnalysisData、DescribeScreenAttackAnalysisData、DescribeScreenAttackAnalysisData
1 parent d07cbd1 commit 58e4e67

File tree

216 files changed

+9950
-222
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

216 files changed

+9950
-222
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2019-04-15 Version: 1.0.6
2+
1, Add apis, DescribeScreenHostStatistics、DescribeScreenSummaryInfo、DescribeScreenAttackAnalysisData、DescribeScreenAttackAnalysisData、DescribeScreenAttackAnalysisData
3+
14
2018-02-07 Version: 1.0.1
25
1, add the access interface of logs such as vulnerabilities, baselines, exceptions, etc.
36

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.0.1"
1+
__version__ = "1.0.6"
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
class AutoUpgradeSasRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'aegis', '2016-11-11', 'AutoUpgradeSas','vipaegis')
25+
26+
def get_SourceIp(self):
27+
return self.get_query_params().get('SourceIp')
28+
29+
def set_SourceIp(self,SourceIp):
30+
self.add_query_param('SourceIp',SourceIp)
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
class AutoUpgradeToSasAdvancedVersionRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'aegis', '2016-11-11', 'AutoUpgradeToSasAdvancedVersion','vipaegis')
25+
26+
def get_SourceIp(self):
27+
return self.get_query_params().get('SourceIp')
28+
29+
def set_SourceIp(self,SourceIp):
30+
self.add_query_param('SourceIp',SourceIp)
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
class BatchDeleteWhiteListRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'aegis', '2016-11-11', 'BatchDeleteWhiteList','vipaegis')
25+
26+
def get_RiskIdList(self):
27+
return self.get_query_params().get('RiskIdList')
28+
29+
def set_RiskIdList(self,RiskIdList):
30+
self.add_query_param('RiskIdList',RiskIdList)
31+
32+
def get_SourceIp(self):
33+
return self.get_query_params().get('SourceIp')
34+
35+
def set_SourceIp(self,SourceIp):
36+
self.add_query_param('SourceIp',SourceIp)
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
class CanTrySasRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'aegis', '2016-11-11', 'CanTrySas','vipaegis')
25+
26+
def get_SourceIp(self):
27+
return self.get_query_params().get('SourceIp')
28+
29+
def set_SourceIp(self,SourceIp):
30+
self.add_query_param('SourceIp',SourceIp)
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
class CreatScreenSettingRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'aegis', '2016-11-11', 'CreatScreenSetting','vipaegis')
25+
26+
def get_SourceIp(self):
27+
return self.get_query_params().get('SourceIp')
28+
29+
def set_SourceIp(self,SourceIp):
30+
self.add_query_param('SourceIp',SourceIp)
31+
32+
def get_ScreenTitle(self):
33+
return self.get_query_params().get('ScreenTitle')
34+
35+
def set_ScreenTitle(self,ScreenTitle):
36+
self.add_query_param('ScreenTitle',ScreenTitle)
37+
38+
def get_ScreenIdSetting(self):
39+
return self.get_query_params().get('ScreenIdSetting')
40+
41+
def set_ScreenIdSetting(self,ScreenIdSetting):
42+
self.add_query_param('ScreenIdSetting',ScreenIdSetting)
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
class CreateLogQueryRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'aegis', '2016-11-11', 'CreateLogQuery','vipaegis')
25+
26+
def get_SourceIp(self):
27+
return self.get_query_params().get('SourceIp')
28+
29+
def set_SourceIp(self,SourceIp):
30+
self.add_query_param('SourceIp',SourceIp)
31+
32+
def get_QueryName(self):
33+
return self.get_query_params().get('QueryName')
34+
35+
def set_QueryName(self,QueryName):
36+
self.add_query_param('QueryName',QueryName)
37+
38+
def get_Conditions(self):
39+
return self.get_query_params().get('Conditions')
40+
41+
def set_Conditions(self,Conditions):
42+
self.add_query_param('Conditions',Conditions)
43+
44+
def get_QueryDetail(self):
45+
return self.get_query_params().get('QueryDetail')
46+
47+
def set_QueryDetail(self,QueryDetail):
48+
self.add_query_param('QueryDetail',QueryDetail)
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
class CreateOrUpdateDataSourceRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'aegis', '2016-11-11', 'CreateOrUpdateDataSource','vipaegis')
25+
26+
def get_ProjectName(self):
27+
return self.get_query_params().get('ProjectName')
28+
29+
def set_ProjectName(self,ProjectName):
30+
self.add_query_param('ProjectName',ProjectName)
31+
32+
def get_SourceIp(self):
33+
return self.get_query_params().get('SourceIp')
34+
35+
def set_SourceIp(self,SourceIp):
36+
self.add_query_param('SourceIp',SourceIp)
37+
38+
def get_LogStoreName(self):
39+
return self.get_query_params().get('LogStoreName')
40+
41+
def set_LogStoreName(self,LogStoreName):
42+
self.add_query_param('LogStoreName',LogStoreName)
43+
44+
def get_DatasourceDescription(self):
45+
return self.get_query_params().get('DatasourceDescription')
46+
47+
def set_DatasourceDescription(self,DatasourceDescription):
48+
self.add_query_param('DatasourceDescription',DatasourceDescription)
49+
50+
def get_Fields(self):
51+
return self.get_query_params().get('Fields')
52+
53+
def set_Fields(self,Fields):
54+
self.add_query_param('Fields',Fields)
55+
56+
def get_RegionNo(self):
57+
return self.get_query_params().get('RegionNo')
58+
59+
def set_RegionNo(self,RegionNo):
60+
self.add_query_param('RegionNo',RegionNo)
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
class CreateOrUpdateDingTalkRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'aegis', '2016-11-11', 'CreateOrUpdateDingTalk','vipaegis')
25+
26+
def get_RuleActionName(self):
27+
return self.get_query_params().get('RuleActionName')
28+
29+
def set_RuleActionName(self,RuleActionName):
30+
self.add_query_param('RuleActionName',RuleActionName)
31+
32+
def get_SourceIp(self):
33+
return self.get_query_params().get('SourceIp')
34+
35+
def set_SourceIp(self,SourceIp):
36+
self.add_query_param('SourceIp',SourceIp)
37+
38+
def get_SendUrl(self):
39+
return self.get_query_params().get('SendUrl')
40+
41+
def set_SendUrl(self,SendUrl):
42+
self.add_query_param('SendUrl',SendUrl)
43+
44+
def get_Id(self):
45+
return self.get_query_params().get('Id')
46+
47+
def set_Id(self,Id):
48+
self.add_query_param('Id',Id)
49+
50+
def get_IntervalTime(self):
51+
return self.get_query_params().get('IntervalTime')
52+
53+
def set_IntervalTime(self,IntervalTime):
54+
self.add_query_param('IntervalTime',IntervalTime)

0 commit comments

Comments
 (0)