import type { UserInfoV3 } from '../schemas/UserInfoV3'; import type { FirewallExceptionStatusV3 } from '../schemas/FirewallExceptionStatusV3'; /** * Firewall exception details */ export interface FirewallExceptionResponseV3 { /** * Business justification for the exception */ businessJustification: string; /** * Unix timestamp (milliseconds) when created * @format int64 */ createdAt: number; createdBy: UserInfoV3; /** * Unique identifier for the exception * @format uuid */ exceptionId: string; /** * Unix timestamp (milliseconds) when the exception expires. Computed at approval time. * @format int64 */ expirationAt?: number | null; /** * Number of days after approval when the exception expires * @format int32 */ expireAfter?: number | null; /** * Note from approver (if approved/rejected) */ notes?: string | null; /** * Name of the package */ packageName: string; /** * type of the package */ packageType: string; /** * Registry identifier */ registryId: string; /** * Name of the registry */ registryName?: string; /** * Plan for remediation */ remediationPlan?: string | null; status: FirewallExceptionStatusV3; /** * Unix timestamp (milliseconds) when status was changed * @format int64 */ statusChangedAt?: number | null; statusChangedBy?: UserInfoV3; /** * Unix timestamp (milliseconds) when last updated * @format int64 */ updatedAt: number; updatedBy: UserInfoV3; /** * Version identifier */ versionId?: string | null; /** * List of versions covered by exception */ versionList: string[]; /** * Map of version string to scan ID */ versionScanMap?: { [key: string]: string; } | null; }