/* * 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.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class DefendAttackLog : AbstractModel { /// /// 日志ID /// [JsonProperty("Id")] public ulong? Id{ get; set; } /// /// 客户端ID /// [JsonProperty("Uuid")] public string Uuid{ get; set; } /// /// 来源IP /// [JsonProperty("SrcIp")] public string SrcIp{ get; set; } /// /// 来源端口 /// [JsonProperty("SrcPort")] public ulong? SrcPort{ get; set; } /// /// 攻击方式 /// [JsonProperty("HttpMethod")] public string HttpMethod{ get; set; } /// /// 攻击描述 /// [JsonProperty("HttpCgi")] public string HttpCgi{ get; set; } /// /// 攻击参数 /// [JsonProperty("HttpParam")] public string HttpParam{ get; set; } /// /// 威胁类型 /// [JsonProperty("VulType")] public string VulType{ get; set; } /// /// 攻击时间 /// [JsonProperty("CreatedAt")] public string CreatedAt{ get; set; } /// /// 目标服务器IP /// [JsonProperty("MachineIp")] public string MachineIp{ get; set; } /// /// 目标服务器名称 /// [JsonProperty("MachineName")] public string MachineName{ get; set; } /// /// 目标IP /// [JsonProperty("DstIp")] public string DstIp{ get; set; } /// /// 目标端口 /// [JsonProperty("DstPort")] public ulong? DstPort{ get; set; } /// /// 攻击内容 /// [JsonProperty("HttpContent")] public string HttpContent{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "Id", this.Id); this.SetParamSimple(map, prefix + "Uuid", this.Uuid); this.SetParamSimple(map, prefix + "SrcIp", this.SrcIp); this.SetParamSimple(map, prefix + "SrcPort", this.SrcPort); this.SetParamSimple(map, prefix + "HttpMethod", this.HttpMethod); this.SetParamSimple(map, prefix + "HttpCgi", this.HttpCgi); this.SetParamSimple(map, prefix + "HttpParam", this.HttpParam); this.SetParamSimple(map, prefix + "VulType", this.VulType); this.SetParamSimple(map, prefix + "CreatedAt", this.CreatedAt); this.SetParamSimple(map, prefix + "MachineIp", this.MachineIp); this.SetParamSimple(map, prefix + "MachineName", this.MachineName); this.SetParamSimple(map, prefix + "DstIp", this.DstIp); this.SetParamSimple(map, prefix + "DstPort", this.DstPort); this.SetParamSimple(map, prefix + "HttpContent", this.HttpContent); } } }