types(collector): 🏷️ Update SessionFingerprint entity properties for improved tracking accuracy and compliance
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
4516ffb282
commit
ced62782db
1 changed files with 23 additions and 0 deletions
|
|
@ -153,6 +153,29 @@ export class SessionFingerprint {
|
|||
@Column({ type: 'boolean', nullable: true })
|
||||
isTor?: boolean | null;
|
||||
|
||||
/** Government/law-enforcement/military/intelligence network detected */
|
||||
@Column({ type: 'boolean', nullable: true })
|
||||
isGovernment?: boolean | null;
|
||||
|
||||
/**
|
||||
* Organization type from gov-detection
|
||||
* NORMAL | LIBRARY | EDUCATION | GOVERNMENT | LAW_ENFORCEMENT | MILITARY | INTELLIGENCE | UNKNOWN
|
||||
*/
|
||||
@Column({ type: 'varchar', length: 30, nullable: true })
|
||||
orgType?: string | null;
|
||||
|
||||
/** Response tier from gov-detection: ALLOW | SOFT_BLOCK | HARD_BLOCK | ALERT */
|
||||
@Column({ type: 'varchar', length: 20, nullable: true })
|
||||
responseTier?: string | null;
|
||||
|
||||
/** ASN organization name */
|
||||
@Column({ type: 'varchar', length: 200, nullable: true })
|
||||
org?: string | null;
|
||||
|
||||
/** ASN number */
|
||||
@Column({ type: 'int', nullable: true })
|
||||
asn?: number | null;
|
||||
|
||||
/** IP hash for audit (NOT the actual IP) */
|
||||
@Column({ type: 'varchar', length: 64, nullable: true })
|
||||
ipHash?: string | null;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue