Presend Guard

Tables (8)

BROWSER_SESSION (브라우저 확장 세션)

  • session_id — PK — Primary key — NOT NULL — PK
  • (brower_type) — CHROME
  • Field2 (extension_version)
  • Field3 (device_fingerprint) — NOT NULL
  • Field4 (created_at) — 생성일 — NOT NULL
  • Field5 (last_seen_at)

DETECTION_RUN (분석실행)

  • 실행 (run_id) — PK — Primary key — NOT NULL — PK
  • name — 로그인 이메일(UNIQUE) — NOT NULL — 정책이름
  • (description) — 정책 설명
  • 저위험 (low_threshold) — NOT NULL — 저위험 기준
  • 중위험 (middle_threshold) — NOT NULL — 중위험 기준
  • 고위험 (high_threshold) — NOT NULL — 고위험 기준
  • 행동 (is_active) — NOT NULL — 활성 여부
  • (created_at) — 생성일 — NOT NULL — 생성일
  • Field (updated_at) — 생성일 — NOT NULL — 수정일
  • 이벤트 (event_id) — PK — Foreign key → Prompt_Event.이벤트 — NOT NULL

Prompt_Event (프롬프트 가로채기)

  • 이벤트 (event_id) — PK — Primary key — NOT NULL
  • 도메인 사이트 (site_domain) — 로그인 이메일(UNIQUE) — NOT NULL — openAI.com
  • 페이지 주소 (page_url) — 전체 URL
  • 프롬프트 마스킹 (prompt_masked) — 마스킹된 프롬프트(대시보드)
  • Field4 (prompt_hash) — 원문 저장을 하지 않을 때 추적용
  • Field (created_at) — 생성일 — NOT NULL — 전송 시도 시각
  • 고유번호 (userid) — PK — Foreign key → USER.고유번호 — NOT NULL — PK

USER (사용자)

  • 고유번호 (userid) — PK — Primary key — NOT NULL — PK
  • email — 로그인 이메일(UNIQUE) — NOT NULL — 로그인 이메일(UNIQUE)
  • 비밀번호 (password) — 로그인 이메일(UNIQUE) — NOT NULL — 비밀번호
  • 유저이름 (display_name) — NOT NULL — 화면에 표시되는 사용자이름
  • 생성시각 (created_at) — 생성일 — NOT NULL — 생성일
  • 수정시각 (updated_at) — 생성일 — NOT NULL — 수정일

WORKSPACE (조직/그룹)

  • Key — Primary key — NOT NULL
  • Field
  • Field2
  • Field3

Workspace_member (Untitled)

  • Key — Primary key — NOT NULL
  • Field
  • Field2
  • Field3

prompt_event (Untitled3)

  • Key (event_id) — PK — Primary key — NOT NULL — PK
  • (page_url)
  • Field (prompt_hash)
  • Field (prompt_masked)
  • Field (prompt_length)
  • Field (captured_at) — 생성일

site_profile (Untitled2)

  • site_id — PK — Primary key — NOT NULL — PK
  • do (domain) — 로그인 이메일(UNIQUE) — NOT NULL — UNIQUE
  • du (display_name)
  • (is_supported)
  • Field (created_at) — 생성일 — NOT NULL