/*
* 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
{
///
/// A security control in Security Hub describes a security best practice related to
/// a specific resource.
///
public partial class SecurityControl
{
private string _description;
private string _remediationUrl;
private string _securityControlArn;
private string _securityControlId;
private ControlStatus _securityControlStatus;
private SeverityRating _severityRating;
private string _title;
///
/// Gets and sets the property Description.
///
/// The description of a security control across standards. This typically summarizes
/// how Security Hub evaluates the control and the conditions under which it produces
/// a failed finding. This parameter doesn't reference a specific standard.
///
///
[AWSProperty(Required=true)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
///
/// Gets and sets the property RemediationUrl.
///
/// A link to Security Hub documentation that explains how to remediate a failed finding
/// for a security control.
///
///
[AWSProperty(Required=true)]
public string RemediationUrl
{
get { return this._remediationUrl; }
set { this._remediationUrl = value; }
}
// Check to see if RemediationUrl property is set
internal bool IsSetRemediationUrl()
{
return this._remediationUrl != null;
}
///
/// Gets and sets the property SecurityControlArn.
///
/// The Amazon Resource Name (ARN) for a security control across standards, such as arn:aws:securityhub:eu-central-1:123456789012:security-control/S3.1
.
/// This parameter doesn't mention a specific standard.
///
///
[AWSProperty(Required=true)]
public string SecurityControlArn
{
get { return this._securityControlArn; }
set { this._securityControlArn = value; }
}
// Check to see if SecurityControlArn property is set
internal bool IsSetSecurityControlArn()
{
return this._securityControlArn != null;
}
///
/// Gets and sets the property SecurityControlId.
///
/// The unique identifier of a security control across standards. Values for this field
/// typically consist of an Amazon Web Service name and a number, such as APIGateway.3.
///
///
///
[AWSProperty(Required=true)]
public string SecurityControlId
{
get { return this._securityControlId; }
set { this._securityControlId = value; }
}
// Check to see if SecurityControlId property is set
internal bool IsSetSecurityControlId()
{
return this._securityControlId != null;
}
///
/// Gets and sets the property SecurityControlStatus.
///
/// The enablement status of a security control in a specific standard.
///
///
[AWSProperty(Required=true)]
public ControlStatus SecurityControlStatus
{
get { return this._securityControlStatus; }
set { this._securityControlStatus = value; }
}
// Check to see if SecurityControlStatus property is set
internal bool IsSetSecurityControlStatus()
{
return this._securityControlStatus != null;
}
///
/// Gets and sets the property SeverityRating.
///
/// The severity of a security control. For more information about how Security Hub determines
/// control severity, see Assigning
/// severity to control findings in the Security Hub User Guide.
///
///
[AWSProperty(Required=true)]
public SeverityRating SeverityRating
{
get { return this._severityRating; }
set { this._severityRating = value; }
}
// Check to see if SeverityRating property is set
internal bool IsSetSeverityRating()
{
return this._severityRating != null;
}
///
/// Gets and sets the property Title.
///
/// The title of a security control.
///
///
[AWSProperty(Required=true)]
public string Title
{
get { return this._title; }
set { this._title = value; }
}
// Check to see if Title property is set
internal bool IsSetTitle()
{
return this._title != null;
}
}
}