Skip to content
This repository has been archived by the owner on Feb 14, 2024. It is now read-only.

Commit

Permalink
Fix timestamp fields
Browse files Browse the repository at this point in the history
  • Loading branch information
aloftus23 committed Mar 8, 2022
1 parent 4e83bbe commit 8564cb8
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/pe_reports/data/data_schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ CREATE TABLE public.credential_breaches (
description text,
exposed_cred_count bigint,
breach_date date,
added_date timestamp without time zone,
modified_date timestamp without time zone,
added_date timestamp,
modified_date timestamp,
data_classes text[],
password_included boolean,
is_verified boolean,
Expand All @@ -111,7 +111,7 @@ CREATE TABLE public.credential_exposures (
root_domain text,
sub_domain text,
breach_name text,
modified_date timestamp without time zone,
modified_date timestamp,
credential_breaches_uid uuid NOT NULL,
data_source_uid uuid NOT NULL,
name text,
Expand All @@ -131,7 +131,7 @@ CREATE TABLE public.cybersix_exposed_credentials (
breach_date date,
breach_id integer,
breach_name text NOT NULL,
create_time timestamp without time zone,
create_time timestamp,
description text,
domain text,
email text NOT NULL,
Expand Down Expand Up @@ -442,7 +442,7 @@ CREATE TABLE public.shodan_assets (
ip text,
port integer,
protocol text,
"timestamp" timestamp without time zone,
"timestamp" timestamp,
product text,
server text,
tags text[],
Expand All @@ -468,7 +468,7 @@ CREATE TABLE public.shodan_insecure_protocols_unverified_vulns (
name text,
potential_vulns text[],
mitigation text,
"timestamp" timestamp without time zone,
"timestamp" timestamp,
product text,
server text,
tags text[],
Expand All @@ -490,7 +490,7 @@ CREATE TABLE public.shodan_verified_vulns (
ip text,
port text,
protocol text,
"timestamp" timestamp without time zone,
"timestamp" timestamp,
cve text,
severity text,
cvss numeric,
Expand Down Expand Up @@ -571,7 +571,7 @@ CREATE TABLE public.web_assets (
organizations_uid uuid NOT NULL,
asset_origin text,
report_on boolean DEFAULT true,
last_scanned timestamp without time zone,
last_scanned timestamp,
report_status_reason text,
data_source_uid uuid NOT NULL
);
Expand Down

0 comments on commit 8564cb8

Please sign in to comment.