SecurityIncidentDataServices

Data services for security incidents.

Namespace:
Inetdev.Auditing
Type:
Class
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
No
Inherits from:
Inetdev.Data.DataServices

Constructors

SecurityIncidentDataServices

Default constructor

Signature:
public Void SecurityIncidentDataServices()

Properties

Alias

Gets an alias for the underlaying table.

Signature:
public String Alias { get; set; }

Fields

A collection of table field definition.

Signature:
public IDictionary<String, Field> Fields { get; set; }

Table

Gets the table name.

Signature:
public String Table { get; set; }

Methods

CountSecurityIncidentsAsync

Count security incidents.

Signature:
public Task<Int32> CountSecurityIncidentsAsync(tenantId, openedOnly)
Returns

Quantity of incidents.

Parameters
Name Type Summary
tenantId Int32 Tenant Id.
openedOnly Boolean true if only opened incidents must be count otherwise false.

FindById

Finds a SecurityIncident with the specified id for the specified tenantId.

Signature:
public SecurityIncident FindById(id, tenantId)
Returns

A SecurityIncident or null if not found.

Parameters
Name Type Summary
id String Security incident Id
tenantId Int32 Tenant Id.

FindByIdAsync

Finds a SecurityIncident with the specified id for the specified tenantId.

Signature:
public Task<SecurityIncident> FindByIdAsync(id, tenantId)
Returns

A SecurityIncident or null if not found.

Parameters
Name Type Summary
id String Security incident Id
tenantId Int32 Tenant Id.

GetProtocolsAsync

Gets a collection of ListItems by grouping the available source protocols.

Signature:
public Task GetProtocolsAsync(tenantId)
Returns

A collection of ListItems.

Parameters
Name Type Summary
tenantId Int32 Tenant Id.

GetUsersAsync

Gets a collection of ListItems by grouping the available users.

Signature:
public Task GetUsersAsync(tenantId)
Returns

A collection of ListItems.

Parameters
Name Type Summary
tenantId Int32 Tenant Id.