/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed 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. */ namespace TencentCloud.Yunjing.V20180228 { using Newtonsoft.Json; using System.Threading.Tasks; using TencentCloud.Common; using TencentCloud.Common.Profile; using TencentCloud.Yunjing.V20180228.Models; public class YunjingClient : AbstractClient{ private const string endpoint = "yunjing.tencentcloudapi.com"; private const string version = "2018-02-28"; /// /// Client constructor. /// /// Credentials. /// Region name, such as "ap-guangzhou". public YunjingClient(Credential credential, string region) : this(credential, region, new ClientProfile()) { } /// /// Client Constructor. /// /// Credentials. /// Region name, such as "ap-guangzhou". /// Client profiles. public YunjingClient(Credential credential, string region, ClientProfile profile) : base(endpoint, version, credential, region, profile) { } /// /// 本接口(AddLoginWhiteList)用于添加白名单规则 /// /// /// public async Task AddLoginWhiteList(AddLoginWhiteListRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "AddLoginWhiteList"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(AddLoginWhiteList)用于添加白名单规则 /// /// /// public AddLoginWhiteListResponse AddLoginWhiteListSync(AddLoginWhiteListRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "AddLoginWhiteList"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 增加机器关联标签 /// /// /// public async Task AddMachineTag(AddMachineTagRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "AddMachineTag"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 增加机器关联标签 /// /// /// public AddMachineTagResponse AddMachineTagSync(AddMachineTagRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "AddMachineTag"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (CloseProVersion) 用于关闭专业版。 /// /// /// public async Task CloseProVersion(CloseProVersionRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "CloseProVersion"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (CloseProVersion) 用于关闭专业版。 /// /// /// public CloseProVersionResponse CloseProVersionSync(CloseProVersionRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "CloseProVersion"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (CreateOpenPortTask) 用于创建实时获取端口任务。 /// /// /// public async Task CreateOpenPortTask(CreateOpenPortTaskRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "CreateOpenPortTask"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (CreateOpenPortTask) 用于创建实时获取端口任务。 /// /// /// public CreateOpenPortTaskResponse CreateOpenPortTaskSync(CreateOpenPortTaskRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "CreateOpenPortTask"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (CreateProcessTask) 用于创建实时拉取进程任务。 /// /// /// public async Task CreateProcessTask(CreateProcessTaskRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "CreateProcessTask"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (CreateProcessTask) 用于创建实时拉取进程任务。 /// /// /// public CreateProcessTaskResponse CreateProcessTaskSync(CreateProcessTaskRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "CreateProcessTask"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 此接口(CreateUsualLoginPlaces)用于添加常用登录地。 /// /// /// public async Task CreateUsualLoginPlaces(CreateUsualLoginPlacesRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "CreateUsualLoginPlaces"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 此接口(CreateUsualLoginPlaces)用于添加常用登录地。 /// /// /// public CreateUsualLoginPlacesResponse CreateUsualLoginPlacesSync(CreateUsualLoginPlacesRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "CreateUsualLoginPlaces"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 删除网络攻击日志 /// /// /// public async Task DeleteAttackLogs(DeleteAttackLogsRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DeleteAttackLogs"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 删除网络攻击日志 /// /// /// public DeleteAttackLogsResponse DeleteAttackLogsSync(DeleteAttackLogsRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DeleteAttackLogs"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 根据Ids删除高危命令事件 /// /// /// public async Task DeleteBashEvents(DeleteBashEventsRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DeleteBashEvents"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 根据Ids删除高危命令事件 /// /// /// public DeleteBashEventsResponse DeleteBashEventsSync(DeleteBashEventsRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DeleteBashEvents"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 删除高危命令规则 /// /// /// public async Task DeleteBashRules(DeleteBashRulesRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DeleteBashRules"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 删除高危命令规则 /// /// /// public DeleteBashRulesResponse DeleteBashRulesSync(DeleteBashRulesRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DeleteBashRules"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DeleteBruteAttacks) 用于删除暴力破解记录。 /// /// /// public async Task DeleteBruteAttacks(DeleteBruteAttacksRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DeleteBruteAttacks"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DeleteBruteAttacks) 用于删除暴力破解记录。 /// /// /// public DeleteBruteAttacksResponse DeleteBruteAttacksSync(DeleteBruteAttacksRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DeleteBruteAttacks"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 删除白名单规则 /// /// /// public async Task DeleteLoginWhiteList(DeleteLoginWhiteListRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DeleteLoginWhiteList"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 删除白名单规则 /// /// /// public DeleteLoginWhiteListResponse DeleteLoginWhiteListSync(DeleteLoginWhiteListRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DeleteLoginWhiteList"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DeleteMachine)用于卸载云镜客户端。 /// /// /// public async Task DeleteMachine(DeleteMachineRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DeleteMachine"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DeleteMachine)用于卸载云镜客户端。 /// /// /// public DeleteMachineResponse DeleteMachineSync(DeleteMachineRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DeleteMachine"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 删除服务器关联的标签 /// /// /// public async Task DeleteMachineTag(DeleteMachineTagRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DeleteMachineTag"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 删除服务器关联的标签 /// /// /// public DeleteMachineTagResponse DeleteMachineTagSync(DeleteMachineTagRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DeleteMachineTag"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DeleteMaliciousRequests) 用于删除恶意请求记录。 /// /// /// public async Task DeleteMaliciousRequests(DeleteMaliciousRequestsRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DeleteMaliciousRequests"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DeleteMaliciousRequests) 用于删除恶意请求记录。 /// /// /// public DeleteMaliciousRequestsResponse DeleteMaliciousRequestsSync(DeleteMaliciousRequestsRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DeleteMaliciousRequests"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DeleteMalwares) 用于删除木马记录。 /// /// /// public async Task DeleteMalwares(DeleteMalwaresRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DeleteMalwares"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DeleteMalwares) 用于删除木马记录。 /// /// /// public DeleteMalwaresResponse DeleteMalwaresSync(DeleteMalwaresRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DeleteMalwares"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DeleteNonlocalLoginPlaces) 用于删除异地登录记录。 /// /// /// public async Task DeleteNonlocalLoginPlaces(DeleteNonlocalLoginPlacesRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DeleteNonlocalLoginPlaces"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DeleteNonlocalLoginPlaces) 用于删除异地登录记录。 /// /// /// public DeleteNonlocalLoginPlacesResponse DeleteNonlocalLoginPlacesSync(DeleteNonlocalLoginPlacesRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DeleteNonlocalLoginPlaces"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 根据Ids删除本地提权 /// /// /// public async Task DeletePrivilegeEvents(DeletePrivilegeEventsRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DeletePrivilegeEvents"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 根据Ids删除本地提权 /// /// /// public DeletePrivilegeEventsResponse DeletePrivilegeEventsSync(DeletePrivilegeEventsRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DeletePrivilegeEvents"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 删除本地提权规则 /// /// /// public async Task DeletePrivilegeRules(DeletePrivilegeRulesRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DeletePrivilegeRules"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 删除本地提权规则 /// /// /// public DeletePrivilegeRulesResponse DeletePrivilegeRulesSync(DeletePrivilegeRulesRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DeletePrivilegeRules"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 根据Ids删除反弹Shell事件 /// /// /// public async Task DeleteReverseShellEvents(DeleteReverseShellEventsRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DeleteReverseShellEvents"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 根据Ids删除反弹Shell事件 /// /// /// public DeleteReverseShellEventsResponse DeleteReverseShellEventsSync(DeleteReverseShellEventsRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DeleteReverseShellEvents"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 删除反弹Shell规则 /// /// /// public async Task DeleteReverseShellRules(DeleteReverseShellRulesRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DeleteReverseShellRules"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 删除反弹Shell规则 /// /// /// public DeleteReverseShellRulesResponse DeleteReverseShellRulesSync(DeleteReverseShellRulesRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DeleteReverseShellRules"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 删除标签 /// /// /// public async Task DeleteTags(DeleteTagsRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DeleteTags"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 删除标签 /// /// /// public DeleteTagsResponse DeleteTagsSync(DeleteTagsRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DeleteTags"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DeleteUsualLoginPlaces)用于删除常用登录地。 /// /// /// public async Task DeleteUsualLoginPlaces(DeleteUsualLoginPlacesRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DeleteUsualLoginPlaces"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DeleteUsualLoginPlaces)用于删除常用登录地。 /// /// /// public DeleteUsualLoginPlacesResponse DeleteUsualLoginPlacesSync(DeleteUsualLoginPlacesRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DeleteUsualLoginPlaces"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeAccountStatistics) 用于获取帐号统计列表数据。 /// /// /// public async Task DescribeAccountStatistics(DescribeAccountStatisticsRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeAccountStatistics"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeAccountStatistics) 用于获取帐号统计列表数据。 /// /// /// public DescribeAccountStatisticsResponse DescribeAccountStatisticsSync(DescribeAccountStatisticsRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeAccountStatistics"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeAccounts) 用于获取帐号列表数据。 /// /// /// public async Task DescribeAccounts(DescribeAccountsRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeAccounts"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeAccounts) 用于获取帐号列表数据。 /// /// /// public DescribeAccountsResponse DescribeAccountsSync(DescribeAccountsRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeAccounts"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeAgentVuls) 用于获取单台主机的漏洞列表。 /// /// /// public async Task DescribeAgentVuls(DescribeAgentVulsRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeAgentVuls"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeAgentVuls) 用于获取单台主机的漏洞列表。 /// /// /// public DescribeAgentVulsResponse DescribeAgentVulsSync(DescribeAgentVulsRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeAgentVuls"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeAlarmAttribute) 用于获取告警设置。 /// /// /// public async Task DescribeAlarmAttribute(DescribeAlarmAttributeRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeAlarmAttribute"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeAlarmAttribute) 用于获取告警设置。 /// /// /// public DescribeAlarmAttributeResponse DescribeAlarmAttributeSync(DescribeAlarmAttributeRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeAlarmAttribute"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 网络攻击日志详情 /// /// /// public async Task DescribeAttackLogInfo(DescribeAttackLogInfoRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeAttackLogInfo"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 网络攻击日志详情 /// /// /// public DescribeAttackLogInfoResponse DescribeAttackLogInfoSync(DescribeAttackLogInfoRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeAttackLogInfo"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 按分页形式展示网络攻击日志列表 /// /// /// public async Task DescribeAttackLogs(DescribeAttackLogsRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeAttackLogs"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 按分页形式展示网络攻击日志列表 /// /// /// public DescribeAttackLogsResponse DescribeAttackLogsSync(DescribeAttackLogsRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeAttackLogs"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 获取高危命令列表 /// /// /// public async Task DescribeBashEvents(DescribeBashEventsRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeBashEvents"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 获取高危命令列表 /// /// /// public DescribeBashEventsResponse DescribeBashEventsSync(DescribeBashEventsRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeBashEvents"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 获取高危命令规则列表 /// /// /// public async Task DescribeBashRules(DescribeBashRulesRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeBashRules"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 获取高危命令规则列表 /// /// /// public DescribeBashRulesResponse DescribeBashRulesSync(DescribeBashRulesRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeBashRules"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口{DescribeBruteAttacks}用于获取暴力破解事件列表。 /// /// /// public async Task DescribeBruteAttacks(DescribeBruteAttacksRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeBruteAttacks"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口{DescribeBruteAttacks}用于获取暴力破解事件列表。 /// /// /// public DescribeBruteAttacksResponse DescribeBruteAttacksSync(DescribeBruteAttacksRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeBruteAttacks"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeComponentInfo) 用于获取组件信息数据。 /// /// /// public async Task DescribeComponentInfo(DescribeComponentInfoRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeComponentInfo"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeComponentInfo) 用于获取组件信息数据。 /// /// /// public DescribeComponentInfoResponse DescribeComponentInfoSync(DescribeComponentInfoRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeComponentInfo"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeComponentStatistics) 用于获取组件统计列表数据。 /// /// /// public async Task DescribeComponentStatistics(DescribeComponentStatisticsRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeComponentStatistics"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeComponentStatistics) 用于获取组件统计列表数据。 /// /// /// public DescribeComponentStatisticsResponse DescribeComponentStatisticsSync(DescribeComponentStatisticsRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeComponentStatistics"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeComponents) 用于获取组件列表数据。 /// /// /// public async Task DescribeComponents(DescribeComponentsRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeComponents"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeComponents) 用于获取组件列表数据。 /// /// /// public DescribeComponentsResponse DescribeComponentsSync(DescribeComponentsRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeComponents"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeHistoryAccounts) 用于获取帐号变更历史列表数据。 /// /// /// public async Task DescribeHistoryAccounts(DescribeHistoryAccountsRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeHistoryAccounts"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeHistoryAccounts) 用于获取帐号变更历史列表数据。 /// /// /// public DescribeHistoryAccountsResponse DescribeHistoryAccountsSync(DescribeHistoryAccountsRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeHistoryAccounts"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeImpactedHosts) 用于获取漏洞受影响机器列表。 /// /// /// public async Task DescribeImpactedHosts(DescribeImpactedHostsRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeImpactedHosts"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeImpactedHosts) 用于获取漏洞受影响机器列表。 /// /// /// public DescribeImpactedHostsResponse DescribeImpactedHostsSync(DescribeImpactedHostsRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeImpactedHosts"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 获取异地登录白名单列表 /// /// /// public async Task DescribeLoginWhiteList(DescribeLoginWhiteListRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeLoginWhiteList"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 获取异地登录白名单列表 /// /// /// public DescribeLoginWhiteListResponse DescribeLoginWhiteListSync(DescribeLoginWhiteListRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeLoginWhiteList"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DescribeMachineInfo)用于获取机器详细信息。 /// /// /// public async Task DescribeMachineInfo(DescribeMachineInfoRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeMachineInfo"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DescribeMachineInfo)用于获取机器详细信息。 /// /// /// public DescribeMachineInfoResponse DescribeMachineInfoSync(DescribeMachineInfoRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeMachineInfo"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeMachines) 用于获取区域主机列表。 /// /// /// public async Task DescribeMachines(DescribeMachinesRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeMachines"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeMachines) 用于获取区域主机列表。 /// /// /// public DescribeMachinesResponse DescribeMachinesSync(DescribeMachinesRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeMachines"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeMaliciousRequests) 用于获取恶意请求数据。 /// /// /// public async Task DescribeMaliciousRequests(DescribeMaliciousRequestsRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeMaliciousRequests"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeMaliciousRequests) 用于获取恶意请求数据。 /// /// /// public DescribeMaliciousRequestsResponse DescribeMaliciousRequestsSync(DescribeMaliciousRequestsRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeMaliciousRequests"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DescribeMalwares)用于获取木马事件列表。 /// /// /// public async Task DescribeMalwares(DescribeMalwaresRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeMalwares"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DescribeMalwares)用于获取木马事件列表。 /// /// /// public DescribeMalwaresResponse DescribeMalwaresSync(DescribeMalwaresRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeMalwares"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DescribeNonlocalLoginPlaces)用于获取异地登录事件。 /// /// /// public async Task DescribeNonlocalLoginPlaces(DescribeNonlocalLoginPlacesRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeNonlocalLoginPlaces"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DescribeNonlocalLoginPlaces)用于获取异地登录事件。 /// /// /// public DescribeNonlocalLoginPlacesResponse DescribeNonlocalLoginPlacesSync(DescribeNonlocalLoginPlacesRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeNonlocalLoginPlaces"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeOpenPortStatistics) 用于获取端口统计列表。 /// /// /// public async Task DescribeOpenPortStatistics(DescribeOpenPortStatisticsRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeOpenPortStatistics"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeOpenPortStatistics) 用于获取端口统计列表。 /// /// /// public DescribeOpenPortStatisticsResponse DescribeOpenPortStatisticsSync(DescribeOpenPortStatisticsRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeOpenPortStatistics"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeOpenPortTaskStatus) 用于获取实时拉取端口任务状态。 /// /// /// public async Task DescribeOpenPortTaskStatus(DescribeOpenPortTaskStatusRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeOpenPortTaskStatus"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeOpenPortTaskStatus) 用于获取实时拉取端口任务状态。 /// /// /// public DescribeOpenPortTaskStatusResponse DescribeOpenPortTaskStatusSync(DescribeOpenPortTaskStatusRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeOpenPortTaskStatus"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeOpenPorts) 用于获取端口列表数据。 /// /// /// public async Task DescribeOpenPorts(DescribeOpenPortsRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeOpenPorts"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeOpenPorts) 用于获取端口列表数据。 /// /// /// public DescribeOpenPortsResponse DescribeOpenPortsSync(DescribeOpenPortsRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeOpenPorts"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口用于(DescribeOverviewStatistics)获取概览统计数据。 /// /// /// public async Task DescribeOverviewStatistics(DescribeOverviewStatisticsRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeOverviewStatistics"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口用于(DescribeOverviewStatistics)获取概览统计数据。 /// /// /// public DescribeOverviewStatisticsResponse DescribeOverviewStatisticsSync(DescribeOverviewStatisticsRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeOverviewStatistics"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 获取本地提权事件列表 /// /// /// public async Task DescribePrivilegeEvents(DescribePrivilegeEventsRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribePrivilegeEvents"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 获取本地提权事件列表 /// /// /// public DescribePrivilegeEventsResponse DescribePrivilegeEventsSync(DescribePrivilegeEventsRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribePrivilegeEvents"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 获取本地提权规则列表 /// /// /// public async Task DescribePrivilegeRules(DescribePrivilegeRulesRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribePrivilegeRules"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 获取本地提权规则列表 /// /// /// public DescribePrivilegeRulesResponse DescribePrivilegeRulesSync(DescribePrivilegeRulesRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribePrivilegeRules"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeProVersionInfo) 用于获取专业版信息。 /// /// /// public async Task DescribeProVersionInfo(DescribeProVersionInfoRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeProVersionInfo"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeProVersionInfo) 用于获取专业版信息。 /// /// /// public DescribeProVersionInfoResponse DescribeProVersionInfoSync(DescribeProVersionInfoRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeProVersionInfo"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeProcessStatistics) 用于获取进程统计列表数据。 /// /// /// public async Task DescribeProcessStatistics(DescribeProcessStatisticsRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeProcessStatistics"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeProcessStatistics) 用于获取进程统计列表数据。 /// /// /// public DescribeProcessStatisticsResponse DescribeProcessStatisticsSync(DescribeProcessStatisticsRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeProcessStatistics"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeProcessTaskStatus) 用于获取实时拉取进程任务状态。 /// /// /// public async Task DescribeProcessTaskStatus(DescribeProcessTaskStatusRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeProcessTaskStatus"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeProcessTaskStatus) 用于获取实时拉取进程任务状态。 /// /// /// public DescribeProcessTaskStatusResponse DescribeProcessTaskStatusSync(DescribeProcessTaskStatusRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeProcessTaskStatus"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeProcesses) 用于获取进程列表数据。 /// /// /// public async Task DescribeProcesses(DescribeProcessesRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeProcesses"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeProcesses) 用于获取进程列表数据。 /// /// /// public DescribeProcessesResponse DescribeProcessesSync(DescribeProcessesRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeProcesses"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 获取反弹Shell列表 /// /// /// public async Task DescribeReverseShellEvents(DescribeReverseShellEventsRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeReverseShellEvents"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 获取反弹Shell列表 /// /// /// public DescribeReverseShellEventsResponse DescribeReverseShellEventsSync(DescribeReverseShellEventsRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeReverseShellEvents"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 获取反弹Shell规则列表 /// /// /// public async Task DescribeReverseShellRules(DescribeReverseShellRulesRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeReverseShellRules"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 获取反弹Shell规则列表 /// /// /// public DescribeReverseShellRulesResponse DescribeReverseShellRulesSync(DescribeReverseShellRulesRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeReverseShellRules"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeSecurityDynamics) 用于获取安全事件消息数据。 /// /// /// public async Task DescribeSecurityDynamics(DescribeSecurityDynamicsRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeSecurityDynamics"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeSecurityDynamics) 用于获取安全事件消息数据。 /// /// /// public DescribeSecurityDynamicsResponse DescribeSecurityDynamicsSync(DescribeSecurityDynamicsRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeSecurityDynamics"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeSecurityTrends) 用于获取安全事件统计数据。 /// /// /// public async Task DescribeSecurityTrends(DescribeSecurityTrendsRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeSecurityTrends"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeSecurityTrends) 用于获取安全事件统计数据。 /// /// /// public DescribeSecurityTrendsResponse DescribeSecurityTrendsSync(DescribeSecurityTrendsRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeSecurityTrends"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 获取指定标签关联的服务器信息 /// /// /// public async Task DescribeTagMachines(DescribeTagMachinesRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeTagMachines"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 获取指定标签关联的服务器信息 /// /// /// public DescribeTagMachinesResponse DescribeTagMachinesSync(DescribeTagMachinesRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeTagMachines"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 获取所有主机标签 /// /// /// public async Task DescribeTags(DescribeTagsRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeTags"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 获取所有主机标签 /// /// /// public DescribeTagsResponse DescribeTagsSync(DescribeTagsRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeTags"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 此接口(DescribeUsualLoginPlaces)用于查询常用登录地。 /// /// /// public async Task DescribeUsualLoginPlaces(DescribeUsualLoginPlacesRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeUsualLoginPlaces"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 此接口(DescribeUsualLoginPlaces)用于查询常用登录地。 /// /// /// public DescribeUsualLoginPlacesResponse DescribeUsualLoginPlacesSync(DescribeUsualLoginPlacesRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeUsualLoginPlaces"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeVulInfo) 用于获取漏洞详情。 /// /// /// public async Task DescribeVulInfo(DescribeVulInfoRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeVulInfo"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeVulInfo) 用于获取漏洞详情。 /// /// /// public DescribeVulInfoResponse DescribeVulInfoSync(DescribeVulInfoRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeVulInfo"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeVulScanResult) 用于获取漏洞检测结果。 /// /// /// public async Task DescribeVulScanResult(DescribeVulScanResultRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeVulScanResult"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeVulScanResult) 用于获取漏洞检测结果。 /// /// /// public DescribeVulScanResultResponse DescribeVulScanResultSync(DescribeVulScanResultRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeVulScanResult"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeVuls) 用于获取漏洞列表数据。 /// /// /// public async Task DescribeVuls(DescribeVulsRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeVuls"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeVuls) 用于获取漏洞列表数据。 /// /// /// public DescribeVulsResponse DescribeVulsSync(DescribeVulsRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeVuls"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeWeeklyReportBruteAttacks) 用于获取专业周报密码破解数据。 /// /// /// public async Task DescribeWeeklyReportBruteAttacks(DescribeWeeklyReportBruteAttacksRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeWeeklyReportBruteAttacks"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeWeeklyReportBruteAttacks) 用于获取专业周报密码破解数据。 /// /// /// public DescribeWeeklyReportBruteAttacksResponse DescribeWeeklyReportBruteAttacksSync(DescribeWeeklyReportBruteAttacksRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeWeeklyReportBruteAttacks"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeWeeklyReportInfo) 用于获取专业周报详情数据。 /// /// /// public async Task DescribeWeeklyReportInfo(DescribeWeeklyReportInfoRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeWeeklyReportInfo"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeWeeklyReportInfo) 用于获取专业周报详情数据。 /// /// /// public DescribeWeeklyReportInfoResponse DescribeWeeklyReportInfoSync(DescribeWeeklyReportInfoRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeWeeklyReportInfo"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeWeeklyReportMalwares) 用于获取专业周报木马数据。 /// /// /// public async Task DescribeWeeklyReportMalwares(DescribeWeeklyReportMalwaresRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeWeeklyReportMalwares"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeWeeklyReportMalwares) 用于获取专业周报木马数据。 /// /// /// public DescribeWeeklyReportMalwaresResponse DescribeWeeklyReportMalwaresSync(DescribeWeeklyReportMalwaresRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeWeeklyReportMalwares"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeWeeklyReportNonlocalLoginPlaces) 用于获取专业周报异地登录数据。 /// /// /// public async Task DescribeWeeklyReportNonlocalLoginPlaces(DescribeWeeklyReportNonlocalLoginPlacesRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeWeeklyReportNonlocalLoginPlaces"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeWeeklyReportNonlocalLoginPlaces) 用于获取专业周报异地登录数据。 /// /// /// public DescribeWeeklyReportNonlocalLoginPlacesResponse DescribeWeeklyReportNonlocalLoginPlacesSync(DescribeWeeklyReportNonlocalLoginPlacesRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeWeeklyReportNonlocalLoginPlaces"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeWeeklyReportVuls) 用于专业版周报漏洞数据。 /// /// /// public async Task DescribeWeeklyReportVuls(DescribeWeeklyReportVulsRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeWeeklyReportVuls"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeWeeklyReportVuls) 用于专业版周报漏洞数据。 /// /// /// public DescribeWeeklyReportVulsResponse DescribeWeeklyReportVulsSync(DescribeWeeklyReportVulsRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeWeeklyReportVuls"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeWeeklyReports) 用于获取周报列表数据。 /// /// /// public async Task DescribeWeeklyReports(DescribeWeeklyReportsRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeWeeklyReports"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (DescribeWeeklyReports) 用于获取周报列表数据。 /// /// /// public DescribeWeeklyReportsResponse DescribeWeeklyReportsSync(DescribeWeeklyReportsRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeWeeklyReports"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 新增或修改高危命令规则 /// /// /// public async Task EditBashRule(EditBashRuleRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "EditBashRule"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 新增或修改高危命令规则 /// /// /// public EditBashRuleResponse EditBashRuleSync(EditBashRuleRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "EditBashRule"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 新增或修改本地提权规则 /// /// /// public async Task EditPrivilegeRule(EditPrivilegeRuleRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "EditPrivilegeRule"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 新增或修改本地提权规则 /// /// /// public EditPrivilegeRuleResponse EditPrivilegeRuleSync(EditPrivilegeRuleRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "EditPrivilegeRule"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 编辑反弹Shell规则 /// /// /// public async Task EditReverseShellRule(EditReverseShellRuleRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "EditReverseShellRule"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 编辑反弹Shell规则 /// /// /// public EditReverseShellRuleResponse EditReverseShellRuleSync(EditReverseShellRuleRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "EditReverseShellRule"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 新增或编辑标签 /// /// /// public async Task EditTags(EditTagsRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "EditTags"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 新增或编辑标签 /// /// /// public EditTagsResponse EditTagsSync(EditTagsRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "EditTags"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 导出网络攻击日志 /// /// /// public async Task ExportAttackLogs(ExportAttackLogsRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "ExportAttackLogs"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 导出网络攻击日志 /// /// /// public ExportAttackLogsResponse ExportAttackLogsSync(ExportAttackLogsRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "ExportAttackLogs"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 导出高危命令事件 /// /// /// public async Task ExportBashEvents(ExportBashEventsRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "ExportBashEvents"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 导出高危命令事件 /// /// /// public ExportBashEventsResponse ExportBashEventsSync(ExportBashEventsRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "ExportBashEvents"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (ExportBruteAttacks) 用于导出密码破解记录成CSV文件。 /// /// /// public async Task ExportBruteAttacks(ExportBruteAttacksRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "ExportBruteAttacks"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (ExportBruteAttacks) 用于导出密码破解记录成CSV文件。 /// /// /// public ExportBruteAttacksResponse ExportBruteAttacksSync(ExportBruteAttacksRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "ExportBruteAttacks"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (ExportMaliciousRequests) 用于导出下载恶意请求文件。 /// /// /// public async Task ExportMaliciousRequests(ExportMaliciousRequestsRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "ExportMaliciousRequests"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (ExportMaliciousRequests) 用于导出下载恶意请求文件。 /// /// /// public ExportMaliciousRequestsResponse ExportMaliciousRequestsSync(ExportMaliciousRequestsRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "ExportMaliciousRequests"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (ExportMalwares) 用于导出木马记录CSV文件。 /// /// /// public async Task ExportMalwares(ExportMalwaresRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "ExportMalwares"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (ExportMalwares) 用于导出木马记录CSV文件。 /// /// /// public ExportMalwaresResponse ExportMalwaresSync(ExportMalwaresRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "ExportMalwares"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (ExportNonlocalLoginPlaces) 用于导出异地登录事件记录CSV文件。 /// /// /// public async Task ExportNonlocalLoginPlaces(ExportNonlocalLoginPlacesRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "ExportNonlocalLoginPlaces"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (ExportNonlocalLoginPlaces) 用于导出异地登录事件记录CSV文件。 /// /// /// public ExportNonlocalLoginPlacesResponse ExportNonlocalLoginPlacesSync(ExportNonlocalLoginPlacesRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "ExportNonlocalLoginPlaces"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 导出本地提权事件 /// /// /// public async Task ExportPrivilegeEvents(ExportPrivilegeEventsRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "ExportPrivilegeEvents"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 导出本地提权事件 /// /// /// public ExportPrivilegeEventsResponse ExportPrivilegeEventsSync(ExportPrivilegeEventsRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "ExportPrivilegeEvents"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 导出反弹Shell事件 /// /// /// public async Task ExportReverseShellEvents(ExportReverseShellEventsRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "ExportReverseShellEvents"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 导出反弹Shell事件 /// /// /// public ExportReverseShellEventsResponse ExportReverseShellEventsSync(ExportReverseShellEventsRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "ExportReverseShellEvents"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (IgnoreImpactedHosts) 用于忽略漏洞。 /// /// /// public async Task IgnoreImpactedHosts(IgnoreImpactedHostsRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "IgnoreImpactedHosts"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (IgnoreImpactedHosts) 用于忽略漏洞。 /// /// /// public IgnoreImpactedHostsResponse IgnoreImpactedHostsSync(IgnoreImpactedHostsRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "IgnoreImpactedHosts"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (InquiryPriceOpenProVersionPrepaid) 用于开通专业版询价(预付费)。 /// /// /// public async Task InquiryPriceOpenProVersionPrepaid(InquiryPriceOpenProVersionPrepaidRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "InquiryPriceOpenProVersionPrepaid"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (InquiryPriceOpenProVersionPrepaid) 用于开通专业版询价(预付费)。 /// /// /// public InquiryPriceOpenProVersionPrepaidResponse InquiryPriceOpenProVersionPrepaidSync(InquiryPriceOpenProVersionPrepaidRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "InquiryPriceOpenProVersionPrepaid"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口{MisAlarmNonlocalLoginPlaces}将设置当前地点为常用登录地。 /// /// /// public async Task MisAlarmNonlocalLoginPlaces(MisAlarmNonlocalLoginPlacesRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "MisAlarmNonlocalLoginPlaces"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口{MisAlarmNonlocalLoginPlaces}将设置当前地点为常用登录地。 /// /// /// public MisAlarmNonlocalLoginPlacesResponse MisAlarmNonlocalLoginPlacesSync(MisAlarmNonlocalLoginPlacesRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "MisAlarmNonlocalLoginPlaces"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(ModifyAlarmAttribute)用于修改告警设置。 /// /// /// public async Task ModifyAlarmAttribute(ModifyAlarmAttributeRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "ModifyAlarmAttribute"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(ModifyAlarmAttribute)用于修改告警设置。 /// /// /// public ModifyAlarmAttributeResponse ModifyAlarmAttributeSync(ModifyAlarmAttributeRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "ModifyAlarmAttribute"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (ModifyAutoOpenProVersionConfig) 用于设置新增主机自动开通专业版配置。 /// /// /// public async Task ModifyAutoOpenProVersionConfig(ModifyAutoOpenProVersionConfigRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "ModifyAutoOpenProVersionConfig"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (ModifyAutoOpenProVersionConfig) 用于设置新增主机自动开通专业版配置。 /// /// /// public ModifyAutoOpenProVersionConfigResponse ModifyAutoOpenProVersionConfigSync(ModifyAutoOpenProVersionConfigRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "ModifyAutoOpenProVersionConfig"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 编辑白名单规则 /// /// /// public async Task ModifyLoginWhiteList(ModifyLoginWhiteListRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "ModifyLoginWhiteList"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 编辑白名单规则 /// /// /// public ModifyLoginWhiteListResponse ModifyLoginWhiteListSync(ModifyLoginWhiteListRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "ModifyLoginWhiteList"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (ModifyProVersionRenewFlag) 用于修改专业版包年包月续费标识。 /// /// /// public async Task ModifyProVersionRenewFlag(ModifyProVersionRenewFlagRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "ModifyProVersionRenewFlag"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (ModifyProVersionRenewFlag) 用于修改专业版包年包月续费标识。 /// /// /// public ModifyProVersionRenewFlagResponse ModifyProVersionRenewFlagSync(ModifyProVersionRenewFlagRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "ModifyProVersionRenewFlag"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (OpenProVersion) 用于开通专业版。 /// /// /// public async Task OpenProVersion(OpenProVersionRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "OpenProVersion"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (OpenProVersion) 用于开通专业版。 /// /// /// public OpenProVersionResponse OpenProVersionSync(OpenProVersionRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "OpenProVersion"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (OpenProVersionPrepaid) 用于开通专业版(包年包月)。 /// /// /// public async Task OpenProVersionPrepaid(OpenProVersionPrepaidRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "OpenProVersionPrepaid"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (OpenProVersionPrepaid) 用于开通专业版(包年包月)。 /// /// /// public OpenProVersionPrepaidResponse OpenProVersionPrepaidSync(OpenProVersionPrepaidRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "OpenProVersionPrepaid"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(RecoverMalwares)用于批量恢复已经被隔离的木马文件。 /// /// /// public async Task RecoverMalwares(RecoverMalwaresRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "RecoverMalwares"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(RecoverMalwares)用于批量恢复已经被隔离的木马文件。 /// /// /// public RecoverMalwaresResponse RecoverMalwaresSync(RecoverMalwaresRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "RecoverMalwares"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (RenewProVersion) 用于续费专业版(包年包月)。 /// /// /// public async Task RenewProVersion(RenewProVersionRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "RenewProVersion"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (RenewProVersion) 用于续费专业版(包年包月)。 /// /// /// public RenewProVersionResponse RenewProVersionSync(RenewProVersionRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "RenewProVersion"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (RescanImpactedHost) 用于漏洞重新检测。 /// /// /// public async Task RescanImpactedHost(RescanImpactedHostRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "RescanImpactedHost"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (RescanImpactedHost) 用于漏洞重新检测。 /// /// /// public RescanImpactedHostResponse RescanImpactedHostSync(RescanImpactedHostRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "RescanImpactedHost"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(SeparateMalwares)用于隔离木马。 /// /// /// public async Task SeparateMalwares(SeparateMalwaresRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "SeparateMalwares"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(SeparateMalwares)用于隔离木马。 /// /// /// public SeparateMalwaresResponse SeparateMalwaresSync(SeparateMalwaresRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "SeparateMalwares"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 设置高危命令事件状态 /// /// /// public async Task SetBashEventsStatus(SetBashEventsStatusRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "SetBashEventsStatus"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 设置高危命令事件状态 /// /// /// public SetBashEventsStatusResponse SetBashEventsStatusSync(SetBashEventsStatusRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "SetBashEventsStatus"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 切换高危命令规则状态 /// /// /// public async Task SwitchBashRules(SwitchBashRulesRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "SwitchBashRules"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 切换高危命令规则状态 /// /// /// public SwitchBashRulesResponse SwitchBashRulesSync(SwitchBashRulesRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "SwitchBashRules"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (TrustMaliciousRequest) 用于恶意请求添加信任。 /// /// /// public async Task TrustMaliciousRequest(TrustMaliciousRequestRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "TrustMaliciousRequest"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (TrustMaliciousRequest) 用于恶意请求添加信任。 /// /// /// public TrustMaliciousRequestResponse TrustMaliciousRequestSync(TrustMaliciousRequestRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "TrustMaliciousRequest"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(TrustMalwares)将被识别木马文件设为信任。 /// /// /// public async Task TrustMalwares(TrustMalwaresRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "TrustMalwares"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(TrustMalwares)将被识别木马文件设为信任。 /// /// /// public TrustMalwaresResponse TrustMalwaresSync(TrustMalwaresRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "TrustMalwares"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (UntrustMaliciousRequest) 用于取消信任恶意请求。 /// /// /// public async Task UntrustMaliciousRequest(UntrustMaliciousRequestRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "UntrustMaliciousRequest"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口 (UntrustMaliciousRequest) 用于取消信任恶意请求。 /// /// /// public UntrustMaliciousRequestResponse UntrustMaliciousRequestSync(UntrustMaliciousRequestRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "UntrustMaliciousRequest"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(UntrustMalwares)用于取消信任木马文件。 /// /// /// public async Task UntrustMalwares(UntrustMalwaresRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "UntrustMalwares"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(UntrustMalwares)用于取消信任木马文件。 /// /// /// public UntrustMalwaresResponse UntrustMalwaresSync(UntrustMalwaresRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "UntrustMalwares"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } } }