/*
* Copyright Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file 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.
*/
/*
* Do not modify this file. This file is generated from the securityhub-2018-10-26.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.SecurityHub.Model
{
///
/// Details about the threat intelligence related to a finding.
///
public partial class ThreatIntelIndicator
{
private ThreatIntelIndicatorCategory _category;
private string _lastObservedAt;
private string _source;
private string _sourceUrl;
private ThreatIntelIndicatorType _type;
private string _value;
///
/// Gets and sets the property Category.
///
/// The category of a threat intelligence indicator.
///
///
public ThreatIntelIndicatorCategory Category
{
get { return this._category; }
set { this._category = value; }
}
// Check to see if Category property is set
internal bool IsSetCategory()
{
return this._category != null;
}
///
/// Gets and sets the property LastObservedAt.
///
/// Indicates when the most recent instance of a threat intelligence indicator was observed.
///
///
///
/// Uses the date-time
format specified in RFC
/// 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces,
/// and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
///
///
public string LastObservedAt
{
get { return this._lastObservedAt; }
set { this._lastObservedAt = value; }
}
// Check to see if LastObservedAt property is set
internal bool IsSetLastObservedAt()
{
return this._lastObservedAt != null;
}
///
/// Gets and sets the property Source.
///
/// The source of the threat intelligence indicator.
///
///
public string Source
{
get { return this._source; }
set { this._source = value; }
}
// Check to see if Source property is set
internal bool IsSetSource()
{
return this._source != null;
}
///
/// Gets and sets the property SourceUrl.
///
/// The URL to the page or site where you can get more information about the threat intelligence
/// indicator.
///
///
public string SourceUrl
{
get { return this._sourceUrl; }
set { this._sourceUrl = value; }
}
// Check to see if SourceUrl property is set
internal bool IsSetSourceUrl()
{
return this._sourceUrl != null;
}
///
/// Gets and sets the property Type.
///
/// The type of threat intelligence indicator.
///
///
public ThreatIntelIndicatorType Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
///
/// Gets and sets the property Value.
///
/// The value of a threat intelligence indicator.
///
///
public string Value
{
get { return this._value; }
set { this._value = value; }
}
// Check to see if Value property is set
internal bool IsSetValue()
{
return this._value != null;
}
}
}