/*
* 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 securitylake-2018-05-10.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.SecurityLake.Model
{
///
/// Amazon Security Lake collects logs and events from supported Amazon Web Services and
/// custom sources. For the list of supported Amazon Web Services, see the Amazon
/// Security Lake User Guide.
///
public partial class DataLakeSource
{
private string _account;
private List _eventClasses = new List();
private string _sourceName;
private List _sourceStatuses = new List();
///
/// Gets and sets the property Account.
///
/// The ID of the Security Lake account for which logs are collected.
///
///
public string Account
{
get { return this._account; }
set { this._account = value; }
}
// Check to see if Account property is set
internal bool IsSetAccount()
{
return this._account != null;
}
///
/// Gets and sets the property EventClasses.
///
/// The Open Cybersecurity Schema Framework (OCSF) event classes which describes the type
/// of data that the custom source will send to Security Lake. The supported event classes
/// are:
///
/// -
///
///
ACCESS_ACTIVITY
///
/// -
///
///
FILE_ACTIVITY
///
/// -
///
///
KERNEL_ACTIVITY
///
/// -
///
///
KERNEL_EXTENSION
///
/// -
///
///
MEMORY_ACTIVITY
///
/// -
///
///
MODULE_ACTIVITY
///
/// -
///
///
PROCESS_ACTIVITY
///
/// -
///
///
REGISTRY_KEY_ACTIVITY
///
/// -
///
///
REGISTRY_VALUE_ACTIVITY
///
/// -
///
///
RESOURCE_ACTIVITY
///
/// -
///
///
SCHEDULED_JOB_ACTIVITY
///
/// -
///
///
SECURITY_FINDING
///
/// -
///
///
ACCOUNT_CHANGE
///
/// -
///
///
AUTHENTICATION
///
/// -
///
///
AUTHORIZATION
///
/// -
///
///
ENTITY_MANAGEMENT_AUDIT
///
/// -
///
///
DHCP_ACTIVITY
///
/// -
///
///
NETWORK_ACTIVITY
///
/// -
///
///
DNS_ACTIVITY
///
/// -
///
///
FTP_ACTIVITY
///
/// -
///
///
HTTP_ACTIVITY
///
/// -
///
///
RDP_ACTIVITY
///
/// -
///
///
SMB_ACTIVITY
///
/// -
///
///
SSH_ACTIVITY
///
/// -
///
///
CONFIG_STATE
///
/// -
///
///
INVENTORY_INFO
///
/// -
///
///
EMAIL_ACTIVITY
///
/// -
///
///
API_ACTIVITY
///
/// -
///
///
CLOUD_API
///
///
///
public List EventClasses
{
get { return this._eventClasses; }
set { this._eventClasses = value; }
}
// Check to see if EventClasses property is set
internal bool IsSetEventClasses()
{
return this._eventClasses != null && this._eventClasses.Count > 0;
}
///
/// Gets and sets the property SourceName.
///
/// The supported Amazon Web Services from which logs and events are collected. Amazon
/// Security Lake supports log and event collection for natively supported Amazon Web
/// Services.
///
///
public string SourceName
{
get { return this._sourceName; }
set { this._sourceName = value; }
}
// Check to see if SourceName property is set
internal bool IsSetSourceName()
{
return this._sourceName != null;
}
///
/// Gets and sets the property SourceStatuses.
///
/// The log status for the Security Lake account.
///
///
public List SourceStatuses
{
get { return this._sourceStatuses; }
set { this._sourceStatuses = value; }
}
// Check to see if SourceStatuses property is set
internal bool IsSetSourceStatuses()
{
return this._sourceStatuses != null && this._sourceStatuses.Count > 0;
}
}
}