netsparker-cloud
Version:
JavaScript client for consuming the Netsparker Cloud API.
228 lines (221 loc) • 9.15 kB
text/typescript
/**
* Invicti Enterprise API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { RequestFile } from './models';
/**
* Represents a model for carrying out audit log data.
*/
export class AuditLogViewModel {
/**
* Gets or sets the foreign key reference to the related {Invicti.Cloud.Core.Models.Account} instance.
*/
'accountId'?: string;
/**
* Gets or sets the date which this entity was created at.
*/
'createdAt'?: Date;
/**
* Gets or sets the type of the endpoint.
*/
'endpointType'?: AuditLogViewModel.EndpointTypeEnum;
/**
* Gets or sets the unique identifier associated with this audit log.
*/
'id'?: string;
/**
* Gets or sets the classification of this audit log.
*/
'type'?: AuditLogViewModel.TypeEnum;
/**
* Gets or sets the user email address.
*/
'userEmail'?: string;
/**
* Gets or sets the foreign key reference to the related {Invicti.Cloud.Core.Models.User} instance.
*/
'userId'?: string;
/**
* Gets or sets the user\'s display name.
*/
'userName'?: string;
/**
* Gets or sets any supplementary data associated with audit log.
*/
'message'?: string;
/**
* Gets or sets HTTP request data.
*/
'requestData'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "accountId",
"baseName": "AccountId",
"type": "string"
},
{
"name": "createdAt",
"baseName": "CreatedAt",
"type": "Date"
},
{
"name": "endpointType",
"baseName": "EndpointType",
"type": "AuditLogViewModel.EndpointTypeEnum"
},
{
"name": "id",
"baseName": "Id",
"type": "string"
},
{
"name": "type",
"baseName": "Type",
"type": "AuditLogViewModel.TypeEnum"
},
{
"name": "userEmail",
"baseName": "UserEmail",
"type": "string"
},
{
"name": "userId",
"baseName": "UserId",
"type": "string"
},
{
"name": "userName",
"baseName": "UserName",
"type": "string"
},
{
"name": "message",
"baseName": "Message",
"type": "string"
},
{
"name": "requestData",
"baseName": "RequestData",
"type": "string"
} ];
static getAttributeTypeMap() {
return AuditLogViewModel.attributeTypeMap;
}
}
export namespace AuditLogViewModel {
export enum EndpointTypeEnum {
Web = <any> 'Web',
Api = <any> 'Api',
BackgroundTask = <any> 'BackgroundTask'
}
export enum TypeEnum {
Signin = <any> 'Signin',
Signout = <any> 'Signout',
Signup = <any> 'Signup',
ResentConfirmationEmail = <any> 'ResentConfirmationEmail',
EmailConfirmed = <any> 'EmailConfirmed',
PasswordResetRequested = <any> 'PasswordResetRequested',
PasswordResetSucceeded = <any> 'PasswordResetSucceeded',
PasswordChanged = <any> 'PasswordChanged',
UserAccountUpdated = <any> 'UserAccountUpdated',
UserCreated = <any> 'UserCreated',
UserUpdated = <any> 'UserUpdated',
AccessTokenReset = <any> 'AccessTokenReset',
ScanStarted = <any> 'ScanStarted',
ScanCancelled = <any> 'ScanCancelled',
WebsiteGroupCreated = <any> 'WebsiteGroupCreated',
WebsiteGroupDeleted = <any> 'WebsiteGroupDeleted',
WebsiteGroupUpdated = <any> 'WebsiteGroupUpdated',
WebsiteCreated = <any> 'WebsiteCreated',
WebsiteUpdated = <any> 'WebsiteUpdated',
WebsiteDeleted = <any> 'WebsiteDeleted',
ScheduledScanDeleted = <any> 'ScheduledScanDeleted',
ScheduledScanCreated = <any> 'ScheduledScanCreated',
ScheduledScanUpdated = <any> 'ScheduledScanUpdated',
ScanPolicyCreated = <any> 'ScanPolicyCreated',
ScanPolicyUpdated = <any> 'ScanPolicyUpdated',
ScanPolicyDeleted = <any> 'ScanPolicyDeleted',
CheckedUpdates = <any> 'CheckedUpdates',
ScanDeleted = <any> 'ScanDeleted',
SigninAs = <any> 'SigninAs',
TwoFactorAuthenticationDisabled = <any> 'TwoFactorAuthenticationDisabled',
TwoFactorAuthenticationConfigured = <any> 'TwoFactorAuthenticationConfigured',
TwoFactorAuthenticationRecoveryCodesViewed = <any> 'TwoFactorAuthenticationRecoveryCodesViewed',
TwoFactorAuthenticationEnforcementChanged = <any> 'TwoFactorAuthenticationEnforcementChanged',
SigninWithRecoveryCode = <any> 'SigninWithRecoveryCode',
IssueCreated = <any> 'IssueCreated',
IssueUpdated = <any> 'IssueUpdated',
DeleteUser = <any> 'DeleteUser',
StartVerification = <any> 'StartVerification',
VerifyOwnership = <any> 'VerifyOwnership',
ScanPaused = <any> 'ScanPaused',
ScanResumed = <any> 'ScanResumed',
AccountLicenseUpdated = <any> 'AccountLicenseUpdated',
InvitationLicenseUpdated = <any> 'InvitationLicenseUpdated',
MarkedLateConfirmation = <any> 'MarkedLateConfirmation',
ConfirmSupportAccessRequest = <any> 'ConfirmSupportAccessRequest',
AgentGroupCreated = <any> 'AgentGroupCreated',
AgentGroupUpdated = <any> 'AgentGroupUpdated',
AgentGroupDeleted = <any> 'AgentGroupDeleted',
IpRestrictionAdded = <any> 'IpRestrictionAdded',
IpRestrictionUpdated = <any> 'IpRestrictionUpdated',
IpRestrictionDeleted = <any> 'IpRestrictionDeleted',
IpRestrictionsStatusChanged = <any> 'IpRestrictionsStatusChanged',
RawScanFileRetentionPeriodEnabled = <any> 'RawScanFileRetentionPeriodEnabled',
RawScanFileRetentionPeriodDisabled = <any> 'RawScanFileRetentionPeriodDisabled',
AccountUpdated = <any> 'AccountUpdated',
ScanNotificationRuleCreated = <any> 'ScanNotificationRuleCreated',
ScanNotificationRuleUpdated = <any> 'ScanNotificationRuleUpdated',
ScanNotificationRuleDeleted = <any> 'ScanNotificationRuleDeleted',
ScanNotificationRulePrioritiesUpdated = <any> 'ScanNotificationRulePrioritiesUpdated',
ReportPolicyCreated = <any> 'ReportPolicyCreated',
ReportPolicyUpdated = <any> 'ReportPolicyUpdated',
ReportPolicyDeleted = <any> 'ReportPolicyDeleted',
AgentDeleted = <any> 'AgentDeleted',
DeleteAccount = <any> 'DeleteAccount',
NsScanImported = <any> 'NsScanImported',
AccountsMerged = <any> 'AccountsMerged',
TooManyRequests = <any> 'TooManyRequests',
SupportEditedUser = <any> 'SupportEditedUser',
AgentsAutoUpdateSettingChanged = <any> 'AgentsAutoUpdateSettingChanged',
WebsiteGroupTechContactChanged = <any> 'WebsiteGroupTechContactChanged',
CreateInvitation = <any> 'CreateInvitation',
DeleteInvitation = <any> 'DeleteInvitation',
ScanProfileCreated = <any> 'ScanProfileCreated',
ScanProfileUpdated = <any> 'ScanProfileUpdated',
ScanProfileDeleted = <any> 'ScanProfileDeleted',
GeneralSettingsUpdated = <any> 'GeneralSettingsUpdated',
SecuritySettingsUpdated = <any> 'SecuritySettingsUpdated',
DatabaseSettingsUpdated = <any> 'DatabaseSettingsUpdated',
EmailSettingsUpdated = <any> 'EmailSettingsUpdated',
SmsSettingsUpdated = <any> 'SmsSettingsUpdated',
CloudProviderUpdated = <any> 'CloudProviderUpdated',
SingleSignOnUpdated = <any> 'SingleSignOnUpdated',
IpRestrictionsUpdated = <any> 'IpRestrictionsUpdated',
TechnologyNotificationChanged = <any> 'TechnologyNotificationChanged',
LoginAttemptFailed = <any> 'LoginAttemptFailed',
IpRestrictedSessionsStatusChanged = <any> 'IpRestrictedSessionsStatusChanged',
U2FSecurityKeyConfigured = <any> 'U2FSecurityKeyConfigured',
U2FSecurityKeyReConfigured = <any> 'U2FSecurityKeyReConfigured',
AgentTokenReset = <any> 'AgentTokenReset',
AddOrUpdateTag = <any> 'AddOrUpdateTag',
EncryptionKeysUpdated = <any> 'EncryptionKeysUpdated',
EncryptionKeysDownloaded = <any> 'EncryptionKeysDownloaded',
RoleCreated = <any> 'RoleCreated',
RoleUpdated = <any> 'RoleUpdated',
RoleDelete = <any> 'RoleDelete',
TeamCreated = <any> 'TeamCreated',
TeamUpdated = <any> 'TeamUpdated',
TeamDelete = <any> 'TeamDelete',
DefectDojoReportImported = <any> 'DefectDojoReportImported',
DefectDojoReportImportFailed = <any> 'DefectDojoReportImportFailed'
}
}