/** * 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 = 'Web', Api = 'Api', BackgroundTask = 'BackgroundTask' } export enum TypeEnum { Signin = 'Signin', Signout = 'Signout', Signup = 'Signup', ResentConfirmationEmail = 'ResentConfirmationEmail', EmailConfirmed = 'EmailConfirmed', PasswordResetRequested = 'PasswordResetRequested', PasswordResetSucceeded = 'PasswordResetSucceeded', PasswordChanged = 'PasswordChanged', UserAccountUpdated = 'UserAccountUpdated', UserCreated = 'UserCreated', UserUpdated = 'UserUpdated', AccessTokenReset = 'AccessTokenReset', ScanStarted = 'ScanStarted', ScanCancelled = 'ScanCancelled', WebsiteGroupCreated = 'WebsiteGroupCreated', WebsiteGroupDeleted = 'WebsiteGroupDeleted', WebsiteGroupUpdated = 'WebsiteGroupUpdated', WebsiteCreated = 'WebsiteCreated', WebsiteUpdated = 'WebsiteUpdated', WebsiteDeleted = 'WebsiteDeleted', ScheduledScanDeleted = 'ScheduledScanDeleted', ScheduledScanCreated = 'ScheduledScanCreated', ScheduledScanUpdated = 'ScheduledScanUpdated', ScanPolicyCreated = 'ScanPolicyCreated', ScanPolicyUpdated = 'ScanPolicyUpdated', ScanPolicyDeleted = 'ScanPolicyDeleted', CheckedUpdates = 'CheckedUpdates', ScanDeleted = 'ScanDeleted', SigninAs = 'SigninAs', TwoFactorAuthenticationDisabled = 'TwoFactorAuthenticationDisabled', TwoFactorAuthenticationConfigured = 'TwoFactorAuthenticationConfigured', TwoFactorAuthenticationRecoveryCodesViewed = 'TwoFactorAuthenticationRecoveryCodesViewed', TwoFactorAuthenticationEnforcementChanged = 'TwoFactorAuthenticationEnforcementChanged', SigninWithRecoveryCode = 'SigninWithRecoveryCode', IssueCreated = 'IssueCreated', IssueUpdated = 'IssueUpdated', DeleteUser = 'DeleteUser', StartVerification = 'StartVerification', VerifyOwnership = 'VerifyOwnership', ScanPaused = 'ScanPaused', ScanResumed = 'ScanResumed', AccountLicenseUpdated = 'AccountLicenseUpdated', InvitationLicenseUpdated = 'InvitationLicenseUpdated', MarkedLateConfirmation = 'MarkedLateConfirmation', ConfirmSupportAccessRequest = 'ConfirmSupportAccessRequest', AgentGroupCreated = 'AgentGroupCreated', AgentGroupUpdated = 'AgentGroupUpdated', AgentGroupDeleted = 'AgentGroupDeleted', IpRestrictionAdded = 'IpRestrictionAdded', IpRestrictionUpdated = 'IpRestrictionUpdated', IpRestrictionDeleted = 'IpRestrictionDeleted', IpRestrictionsStatusChanged = 'IpRestrictionsStatusChanged', RawScanFileRetentionPeriodEnabled = 'RawScanFileRetentionPeriodEnabled', RawScanFileRetentionPeriodDisabled = 'RawScanFileRetentionPeriodDisabled', AccountUpdated = 'AccountUpdated', ScanNotificationRuleCreated = 'ScanNotificationRuleCreated', ScanNotificationRuleUpdated = 'ScanNotificationRuleUpdated', ScanNotificationRuleDeleted = 'ScanNotificationRuleDeleted', ScanNotificationRulePrioritiesUpdated = 'ScanNotificationRulePrioritiesUpdated', ReportPolicyCreated = 'ReportPolicyCreated', ReportPolicyUpdated = 'ReportPolicyUpdated', ReportPolicyDeleted = 'ReportPolicyDeleted', AgentDeleted = 'AgentDeleted', DeleteAccount = 'DeleteAccount', NsScanImported = 'NsScanImported', AccountsMerged = 'AccountsMerged', TooManyRequests = 'TooManyRequests', SupportEditedUser = 'SupportEditedUser', AgentsAutoUpdateSettingChanged = 'AgentsAutoUpdateSettingChanged', WebsiteGroupTechContactChanged = 'WebsiteGroupTechContactChanged', CreateInvitation = 'CreateInvitation', DeleteInvitation = 'DeleteInvitation', ScanProfileCreated = 'ScanProfileCreated', ScanProfileUpdated = 'ScanProfileUpdated', ScanProfileDeleted = 'ScanProfileDeleted', GeneralSettingsUpdated = 'GeneralSettingsUpdated', SecuritySettingsUpdated = 'SecuritySettingsUpdated', DatabaseSettingsUpdated = 'DatabaseSettingsUpdated', EmailSettingsUpdated = 'EmailSettingsUpdated', SmsSettingsUpdated = 'SmsSettingsUpdated', CloudProviderUpdated = 'CloudProviderUpdated', SingleSignOnUpdated = 'SingleSignOnUpdated', IpRestrictionsUpdated = 'IpRestrictionsUpdated', TechnologyNotificationChanged = 'TechnologyNotificationChanged', LoginAttemptFailed = 'LoginAttemptFailed', IpRestrictedSessionsStatusChanged = 'IpRestrictedSessionsStatusChanged', U2FSecurityKeyConfigured = 'U2FSecurityKeyConfigured', U2FSecurityKeyReConfigured = 'U2FSecurityKeyReConfigured', AgentTokenReset = 'AgentTokenReset', AddOrUpdateTag = 'AddOrUpdateTag', EncryptionKeysUpdated = 'EncryptionKeysUpdated', EncryptionKeysDownloaded = 'EncryptionKeysDownloaded', RoleCreated = 'RoleCreated', RoleUpdated = 'RoleUpdated', RoleDelete = 'RoleDelete', TeamCreated = 'TeamCreated', TeamUpdated = 'TeamUpdated', TeamDelete = 'TeamDelete', DefectDojoReportImported = 'DefectDojoReportImported', DefectDojoReportImportFailed = 'DefectDojoReportImportFailed' } }