Skip to content

Commit f67c1b3

Browse files
committed
测试发布云盾 1.0.0 版本
1 parent 1882fe4 commit f67c1b3

32 files changed

+1210
-1
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2019-05-28 Version: 1.0.0
2+
测试发布云盾 1.0.0 版本
3+
14
2019-03-15 Version: 2.1.4
25
1, Update Dependency
36

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "2.1.4"
1+
__version__ = '1.0.0'
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 AddCNameWafRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'Yundun', '2015-04-16', 'AddCNameWaf','yundun')
25+
26+
def get_InstanceId(self):
27+
return self.get_query_params().get('InstanceId')
28+
29+
def set_InstanceId(self,InstanceId):
30+
self.add_query_param('InstanceId',InstanceId)
31+
32+
def get_Domain(self):
33+
return self.get_query_params().get('Domain')
34+
35+
def set_Domain(self,Domain):
36+
self.add_query_param('Domain',Domain)
37+
38+
def get_InstanceType(self):
39+
return self.get_query_params().get('InstanceType')
40+
41+
def set_InstanceType(self,InstanceType):
42+
self.add_query_param('InstanceType',InstanceType)
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 BruteforceLogRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'Yundun', '2015-04-16', 'BruteforceLog','yundun')
25+
26+
def get_JstOwnerId(self):
27+
return self.get_query_params().get('JstOwnerId')
28+
29+
def set_JstOwnerId(self,JstOwnerId):
30+
self.add_query_param('JstOwnerId',JstOwnerId)
31+
32+
def get_InstanceId(self):
33+
return self.get_query_params().get('InstanceId')
34+
35+
def set_InstanceId(self,InstanceId):
36+
self.add_query_param('InstanceId',InstanceId)
37+
38+
def get_RecordType(self):
39+
return self.get_query_params().get('RecordType')
40+
41+
def set_RecordType(self,RecordType):
42+
self.add_query_param('RecordType',RecordType)
43+
44+
def get_PageSize(self):
45+
return self.get_query_params().get('PageSize')
46+
47+
def set_PageSize(self,PageSize):
48+
self.add_query_param('PageSize',PageSize)
49+
50+
def get_PageNumber(self):
51+
return self.get_query_params().get('PageNumber')
52+
53+
def set_PageNumber(self,PageNumber):
54+
self.add_query_param('PageNumber',PageNumber)
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 CloseCCProtectRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'Yundun', '2015-04-16', 'CloseCCProtect','yundun')
25+
26+
def get_InstanceId(self):
27+
return self.get_query_params().get('InstanceId')
28+
29+
def set_InstanceId(self,InstanceId):
30+
self.add_query_param('InstanceId',InstanceId)
31+
32+
def get_InstanceType(self):
33+
return self.get_query_params().get('InstanceType')
34+
35+
def set_InstanceType(self,InstanceType):
36+
self.add_query_param('InstanceType',InstanceType)
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 ClosePortScanRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'Yundun', '2015-04-16', 'ClosePortScan','yundun')
25+
26+
def get_InstanceId(self):
27+
return self.get_query_params().get('InstanceId')
28+
29+
def set_InstanceId(self,InstanceId):
30+
self.add_query_param('InstanceId',InstanceId)
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 CloseVulScanRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'Yundun', '2015-04-16', 'CloseVulScan','yundun')
25+
26+
def get_InstanceId(self):
27+
return self.get_query_params().get('InstanceId')
28+
29+
def set_InstanceId(self,InstanceId):
30+
self.add_query_param('InstanceId',InstanceId)
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 ConfigDdosRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'Yundun', '2015-04-16', 'ConfigDdos','yundun')
25+
26+
def get_StrategyPosition(self):
27+
return self.get_query_params().get('StrategyPosition')
28+
29+
def set_StrategyPosition(self,StrategyPosition):
30+
self.add_query_param('StrategyPosition',StrategyPosition)
31+
32+
def get_InstanceId(self):
33+
return self.get_query_params().get('InstanceId')
34+
35+
def set_InstanceId(self,InstanceId):
36+
self.add_query_param('InstanceId',InstanceId)
37+
38+
def get_Level(self):
39+
return self.get_query_params().get('Level')
40+
41+
def set_Level(self,Level):
42+
self.add_query_param('Level',Level)
43+
44+
def get_InstanceType(self):
45+
return self.get_query_params().get('InstanceType')
46+
47+
def set_InstanceType(self,InstanceType):
48+
self.add_query_param('InstanceType',InstanceType)
49+
50+
def get_FlowPosition(self):
51+
return self.get_query_params().get('FlowPosition')
52+
53+
def set_FlowPosition(self,FlowPosition):
54+
self.add_query_param('FlowPosition',FlowPosition)
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 ConfirmLoginRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'Yundun', '2015-04-16', 'ConfirmLogin','yundun')
25+
26+
def get_InstanceId(self):
27+
return self.get_query_params().get('InstanceId')
28+
29+
def set_InstanceId(self,InstanceId):
30+
self.add_query_param('InstanceId',InstanceId)
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_Time(self):
39+
return self.get_query_params().get('Time')
40+
41+
def set_Time(self,Time):
42+
self.add_query_param('Time',Time)
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 DdosFlowGraphRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'Yundun', '2015-04-16', 'DdosFlowGraph','yundun')
25+
26+
def get_InstanceId(self):
27+
return self.get_query_params().get('InstanceId')
28+
29+
def set_InstanceId(self,InstanceId):
30+
self.add_query_param('InstanceId',InstanceId)
31+
32+
def get_InstanceType(self):
33+
return self.get_query_params().get('InstanceType')
34+
35+
def set_InstanceType(self,InstanceType):
36+
self.add_query_param('InstanceType',InstanceType)

0 commit comments

Comments
 (0)