-
Notifications
You must be signed in to change notification settings - Fork 587
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
43 changed files
with
1,684 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
2023-12-13 Version: 1.0.2 | ||
- Standardizing api. | ||
|
||
2023-11-01 Version: 1.0.1 | ||
- Standardizing api. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = '1.0.1' | ||
__version__ = '1.0.2' |
52 changes: 52 additions & 0 deletions
52
...un-python-sdk-cloud-siem/aliyunsdkcloud_siem/request/v20220616/AddDataSourceLogRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
from aliyunsdkcore.request import RpcRequest | ||
|
||
class AddDataSourceLogRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'cloud-siem', '2022-06-16', 'AddDataSourceLog','cloud-siem') | ||
self.set_method('POST') | ||
|
||
def get_CloudCode(self): # String | ||
return self.get_body_params().get('CloudCode') | ||
|
||
def set_CloudCode(self, CloudCode): # String | ||
self.add_body_params('CloudCode', CloudCode) | ||
def get_AccountId(self): # String | ||
return self.get_body_params().get('AccountId') | ||
|
||
def set_AccountId(self, AccountId): # String | ||
self.add_body_params('AccountId', AccountId) | ||
def get_LogCode(self): # String | ||
return self.get_body_params().get('LogCode') | ||
|
||
def set_LogCode(self, LogCode): # String | ||
self.add_body_params('LogCode', LogCode) | ||
def get_DataSourceInstanceLogs(self): # String | ||
return self.get_body_params().get('DataSourceInstanceLogs') | ||
|
||
def set_DataSourceInstanceLogs(self, DataSourceInstanceLogs): # String | ||
self.add_body_params('DataSourceInstanceLogs', DataSourceInstanceLogs) | ||
def get_DataSourceInstanceId(self): # String | ||
return self.get_body_params().get('DataSourceInstanceId') | ||
|
||
def set_DataSourceInstanceId(self, DataSourceInstanceId): # String | ||
self.add_body_params('DataSourceInstanceId', DataSourceInstanceId) |
57 changes: 57 additions & 0 deletions
57
aliyun-python-sdk-cloud-siem/aliyunsdkcloud_siem/request/v20220616/AddDataSourceRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
from aliyunsdkcore.request import RpcRequest | ||
|
||
class AddDataSourceRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'cloud-siem', '2022-06-16', 'AddDataSource','cloud-siem') | ||
self.set_method('POST') | ||
|
||
def get_DataSourceType(self): # String | ||
return self.get_body_params().get('DataSourceType') | ||
|
||
def set_DataSourceType(self, DataSourceType): # String | ||
self.add_body_params('DataSourceType', DataSourceType) | ||
def get_CloudCode(self): # String | ||
return self.get_body_params().get('CloudCode') | ||
|
||
def set_CloudCode(self, CloudCode): # String | ||
self.add_body_params('CloudCode', CloudCode) | ||
def get_DataSourceInstanceName(self): # String | ||
return self.get_body_params().get('DataSourceInstanceName') | ||
|
||
def set_DataSourceInstanceName(self, DataSourceInstanceName): # String | ||
self.add_body_params('DataSourceInstanceName', DataSourceInstanceName) | ||
def get_AccountId(self): # String | ||
return self.get_body_params().get('AccountId') | ||
|
||
def set_AccountId(self, AccountId): # String | ||
self.add_body_params('AccountId', AccountId) | ||
def get_DataSourceInstanceRemark(self): # String | ||
return self.get_body_params().get('DataSourceInstanceRemark') | ||
|
||
def set_DataSourceInstanceRemark(self, DataSourceInstanceRemark): # String | ||
self.add_body_params('DataSourceInstanceRemark', DataSourceInstanceRemark) | ||
def get_DataSourceInstanceParams(self): # String | ||
return self.get_body_params().get('DataSourceInstanceParams') | ||
|
||
def set_DataSourceInstanceParams(self, DataSourceInstanceParams): # String | ||
self.add_body_params('DataSourceInstanceParams', DataSourceInstanceParams) |
32 changes: 32 additions & 0 deletions
32
aliyun-python-sdk-cloud-siem/aliyunsdkcloud_siem/request/v20220616/AddUserRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
from aliyunsdkcore.request import RpcRequest | ||
|
||
class AddUserRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'cloud-siem', '2022-06-16', 'AddUser','cloud-siem') | ||
self.set_method('POST') | ||
|
||
def get_AddedUserId(self): # Long | ||
return self.get_body_params().get('AddedUserId') | ||
|
||
def set_AddedUserId(self, AddedUserId): # Long | ||
self.add_body_params('AddedUserId', AddedUserId) |
57 changes: 57 additions & 0 deletions
57
...hon-sdk-cloud-siem/aliyunsdkcloud_siem/request/v20220616/AddUserSourceLogConfigRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
from aliyunsdkcore.request import RpcRequest | ||
|
||
class AddUserSourceLogConfigRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'cloud-siem', '2022-06-16', 'AddUserSourceLogConfig','cloud-siem') | ||
self.set_method('POST') | ||
|
||
def get_DisPlayLine(self): # String | ||
return self.get_body_params().get('DisPlayLine') | ||
|
||
def set_DisPlayLine(self, DisPlayLine): # String | ||
self.add_body_params('DisPlayLine', DisPlayLine) | ||
def get_SubUserId(self): # Long | ||
return self.get_body_params().get('SubUserId') | ||
|
||
def set_SubUserId(self, SubUserId): # Long | ||
self.add_body_params('SubUserId', SubUserId) | ||
def get_SourceProdCode(self): # String | ||
return self.get_body_params().get('SourceProdCode') | ||
|
||
def set_SourceProdCode(self, SourceProdCode): # String | ||
self.add_body_params('SourceProdCode', SourceProdCode) | ||
def get_SourceLogInfo(self): # String | ||
return self.get_body_params().get('SourceLogInfo') | ||
|
||
def set_SourceLogInfo(self, SourceLogInfo): # String | ||
self.add_body_params('SourceLogInfo', SourceLogInfo) | ||
def get_Deleted(self): # Integer | ||
return self.get_body_params().get('Deleted') | ||
|
||
def set_Deleted(self, Deleted): # Integer | ||
self.add_body_params('Deleted', Deleted) | ||
def get_SourceLogCode(self): # String | ||
return self.get_body_params().get('SourceLogCode') | ||
|
||
def set_SourceLogCode(self, SourceLogCode): # String | ||
self.add_body_params('SourceLogCode', SourceLogCode) |
47 changes: 47 additions & 0 deletions
47
aliyun-python-sdk-cloud-siem/aliyunsdkcloud_siem/request/v20220616/BindAccountRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
from aliyunsdkcore.request import RpcRequest | ||
|
||
class BindAccountRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'cloud-siem', '2022-06-16', 'BindAccount','cloud-siem') | ||
self.set_method('POST') | ||
|
||
def get_CloudCode(self): # String | ||
return self.get_body_params().get('CloudCode') | ||
|
||
def set_CloudCode(self, CloudCode): # String | ||
self.add_body_params('CloudCode', CloudCode) | ||
def get_AccountId(self): # String | ||
return self.get_body_params().get('AccountId') | ||
|
||
def set_AccountId(self, AccountId): # String | ||
self.add_body_params('AccountId', AccountId) | ||
def get_AccountName(self): # String | ||
return self.get_body_params().get('AccountName') | ||
|
||
def set_AccountName(self, AccountName): # String | ||
self.add_body_params('AccountName', AccountName) | ||
def get_AccessId(self): # String | ||
return self.get_body_params().get('AccessId') | ||
|
||
def set_AccessId(self, AccessId): # String | ||
self.add_body_params('AccessId', AccessId) |
47 changes: 47 additions & 0 deletions
47
...n-python-sdk-cloud-siem/aliyunsdkcloud_siem/request/v20220616/DeleteBindAccountRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
from aliyunsdkcore.request import RpcRequest | ||
|
||
class DeleteBindAccountRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'cloud-siem', '2022-06-16', 'DeleteBindAccount','cloud-siem') | ||
self.set_method('POST') | ||
|
||
def get_CloudCode(self): # String | ||
return self.get_body_params().get('CloudCode') | ||
|
||
def set_CloudCode(self, CloudCode): # String | ||
self.add_body_params('CloudCode', CloudCode) | ||
def get_AccountId(self): # String | ||
return self.get_body_params().get('AccountId') | ||
|
||
def set_AccountId(self, AccountId): # String | ||
self.add_body_params('AccountId', AccountId) | ||
def get_BindId(self): # Long | ||
return self.get_body_params().get('BindId') | ||
|
||
def set_BindId(self, BindId): # Long | ||
self.add_body_params('BindId', BindId) | ||
def get_AccessId(self): # String | ||
return self.get_body_params().get('AccessId') | ||
|
||
def set_AccessId(self, AccessId): # String | ||
self.add_body_params('AccessId', AccessId) |
47 changes: 47 additions & 0 deletions
47
...python-sdk-cloud-siem/aliyunsdkcloud_siem/request/v20220616/DeleteDataSourceLogRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
from aliyunsdkcore.request import RpcRequest | ||
|
||
class DeleteDataSourceLogRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'cloud-siem', '2022-06-16', 'DeleteDataSourceLog','cloud-siem') | ||
self.set_method('POST') | ||
|
||
def get_CloudCode(self): # String | ||
return self.get_body_params().get('CloudCode') | ||
|
||
def set_CloudCode(self, CloudCode): # String | ||
self.add_body_params('CloudCode', CloudCode) | ||
def get_AccountId(self): # String | ||
return self.get_body_params().get('AccountId') | ||
|
||
def set_AccountId(self, AccountId): # String | ||
self.add_body_params('AccountId', AccountId) | ||
def get_LogInstanceId(self): # String | ||
return self.get_body_params().get('LogInstanceId') | ||
|
||
def set_LogInstanceId(self, LogInstanceId): # String | ||
self.add_body_params('LogInstanceId', LogInstanceId) | ||
def get_DataSourceInstanceId(self): # String | ||
return self.get_body_params().get('DataSourceInstanceId') | ||
|
||
def set_DataSourceInstanceId(self, DataSourceInstanceId): # String | ||
self.add_body_params('DataSourceInstanceId', DataSourceInstanceId) |
Oops, something went wrong.