sagacity/db_schema.json

6469 lines
138 KiB
JSON
Raw Normal View History

2018-05-07 10:51:08 -04:00
{
"tables" : [
{
"schema" : "sagacity",
"name" : "settings",
"primary_key" : [
"id"
],
"unique" : [
"meta_key"
],
"fields" : [
{
"name" : "id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : true,
"nn" : true,
"default" : ""
},
{
"name" : "meta_key",
"dataType" : "varchar(100)",
"type" : 253,
"length" : 100,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "meta_value",
"dataType" : "mediumtext",
"type" : 250,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "db_data",
"dataType" : "text",
"type" : 252,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
}
]
},
{
"schema" : "sagacity",
"name" : "sw_man_match",
"primary_key" : [
"id"
],
"fields" : [
{
"name" : "id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : true,
"nn" : false,
"default" : ""
},
{
"name" : "man",
"dataType" : "varchar(45)",
"type" : 253,
"length" : 45,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "type",
"dataType" : "enum",
"type" : 247,
"length" : null,
"values" : [
"ms-os",
"nix-os",
"net-os",
"ms",
"nix",
"checklist",
"multiple"
],
"ai" : false,
"nn" : true,
"default" : "multiple"
},
{
"name" : "rgx",
"dataType" : "text",
"type" : 252,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
}
]
},
{
"schema" : "sagacity",
"name" : "sw_name_match",
"primary_key" : [
"id"
],
"fields" : [
{
"name" : "id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : true,
"nn" : false,
"default" : ""
},
{
"name" : "man_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "man_override",
"dataType" : "varchar(45)",
"type" : 253,
"length" : 45,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "name",
"dataType" : "varchar(45)",
"type" : 253,
"length" : 45,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "type",
"dataType" : "enum",
"type" : 247,
"length" : null,
"values" : [
"ms-os",
"nix-os",
"net-os",
"ms",
"nix",
"checklist",
"multiple"
],
"ai" : false,
"nn" : true,
"default" : "multiple"
},
{
"name" : "rgx",
"dataType" : "text",
"type" : 252,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "name_match",
"dataType" : "varchar(15)",
"type" : 253,
"length" : 15,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "ver_match",
"dataType" : "varchar(15)",
"type" : 253,
"length" : 15,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "ver",
"dataType" : "varchar(15)",
"type" : 253,
"length" : 15,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "update_match",
"dataType" : "varchar(15)",
"type" : 253,
"length" : 15,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "is_os",
"dataType" : "tinyint(1)",
"type" : 1,
"length" : 1,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : "0"
},
{
"name" : "multiple",
"dataType" : "tinyint(1)",
"type" : 1,
"length" : 1,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : "0"
}
],
"constraints" : [
{
"id" : "swnm_swmm_id",
"local" : "man_id",
"schema" : "sagacity",
"table" : "sw_man_match",
"field" : "id",
"update" : null,
"delete" : null
}
]
},
{
"schema" : "sagacity",
"name" : "catalog_scripts",
"primary_key" : [
"file_name"
],
"fields" : [
{
"name" : "file_name",
"dataType" : "varchar(255)",
"type" : 253,
"length" : 255,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "pid",
"dataType" : "int(5)",
"type" : 3,
"length" : 5,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : ""
},
{
"name" : "start_time",
"dataType" : "datetime",
"type" : 12,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : ""
},
{
"name" : "last_update",
"dataType" : "datetime",
"type" : 12,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : ""
},
{
"name" : "status",
"dataType" : "enum",
"type" : 247,
"length" : null,
"values" : [
"IN QUEUE",
"RUNNING",
"COMPLETE",
"ERROR",
"SKIPPED"
],
"ai" : false,
"nn" : true,
"default" : "IN QUEUE"
},
{
"name" : "perc_comp",
"dataType" : "decimal(5,2)",
"type" : 0,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "stig_count",
"dataType" : "int(4)",
"type" : 3,
"length" : 4,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : "0"
}
],
"index" : [
{
"id" : "catalog_file_name_idx",
"type" : "index",
"ref" : "file_name"
}
]
},
{
"schema" : "rmf",
"name" : "family",
"primary_key" : [
"abbr"
],
"fields" : [
{
"name" : "abbr",
"dataType" : "varchar(4)",
"type" : 253,
"length" : 4,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "name",
"dataType" : "varchar(64)",
"type" : 253,
"length" : 64,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
}
]
},
{
"schema" : "rmf",
"name" : "controls",
"primary_key" : [
"family_id",
"control_id"
],
"fields" : [
{
"name" : "family_id",
"dataType" : "varchar(4)",
"type" : 253,
"length" : 4,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "control_id",
"dataType" : "varchar(6)",
"type" : 253,
"length" : 6,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "name",
"dataType" : "varchar(6)",
"type" : 253,
"length" : 6,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "pri",
"dataType" : "tinyint(1)",
"type" : 1,
"length" : 1,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "statement",
"dataType" : "text",
"type" : 252,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "guidance",
"dataType" : "text",
"type" : 252,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
}
],
"constraints" : [
{
"id" : "rmf_family_family_id",
"local" : "family_id",
"schema" : "rmf",
"table" : "family",
"field" : "abbr",
"update" : null,
"delete" : null
}
],
"index" : [
{
"id" : "rmf_controls_control_id_idx",
"type" : "index",
"ref" : "control_id"
}
]
},
{
"schema" : "rmf",
"name" : "related_controls",
"primary_key" : [
"control_id",
"related_control_id"
],
"fields" : [
{
"name" : "control_id",
"dataType" : "varchar(6)",
"type" : 253,
"length" : 64,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "related_control_id",
"dataType" : "varchar(6)",
"type" : 253,
"length" : 64,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
}
],
"constraints" : [
{
"id" : "rmf_related_controls_control_id",
"local" : "control_id",
"schema" : "rmf",
"table" : "controls",
"field" : "control_id",
"update" : null,
"delete" : null
},
{
"id" : "rmf_related_controls_related_id",
"local" : "related_control_id",
"schema" : "rmf",
"table" : "controls",
"field" : "control_id",
"update" : null,
"delete" : null
}
],
"index" : [
{
"id" : "rmf_related_controls_related_id_idx",
"type" : "index",
"ref" : "related_control_id"
}
]
},
{
"schema" : "rmf",
"name" : "control_baseline",
"primary_key" : [
"impact_level",
"control_id"
],
"fields" : [
{
"name" : "impact_level",
"dataType" : "enum",
"type" : 247,
"length" : null,
"values" : [
"low",
"moderate",
"high"
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "control_id",
"dataType" : "varchar(6)",
"type" : 253,
"length" : 6,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
}
],
"constraints" : [
{
"id" : "rmf_control_baseline_control_id",
"local" : "control_id",
"schema" : "rmf",
"table" : "controls",
"field" : "control_id",
"update" : null,
"delete" : null
}
],
"index" : [
{
"id" : "rmf_control_baseline_control_id_idx",
"type" : "index",
"ref" : "control_id"
}
]
},
{
"schema" : "rmf",
"name" : "control_enh",
"primary_key" : [
"control_id",
"enh_id"
],
"fields" : [
{
"name" : "control_id",
"dataType" : "varchar(6)",
"type" : 253,
"length" : 6,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "enh_id",
"dataType" : "varchar(4)",
"type" : 253,
"length" : 4,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "name",
"dataType" : "varchar(100)",
"type" : 253,
"length" : 100,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "desc",
"dataType" : "text",
"type" : 252,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "guidance",
"dataType" : "text",
"type" : 252,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
}
],
"constraints" : [
{
"id" : "rmf_control_enh_control_id",
"local" : "control_id",
"schema" : "rmf",
"table" : "controls",
"field" : "control_id",
"update" : null,
"delete" : null
}
],
"index" : [
{
"id" : "rmf_control_enh_enh_id_idx",
"type" : "index",
"ref" : "enh_id"
}
]
},
{
"schema" : "rmf",
"name" : "enhancement_baseline",
"primary_key" : [
"impact",
"control_id",
"enh_id"
],
"fields" : [
{
"name" : "impact",
"dataType" : "enum",
"type" : 247,
"length" : null,
"values" : [
"low",
"moderate",
"high"
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "control_id",
"dataType" : "varchar(6)",
"type" : 253,
"length" : 6,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "enh_id",
"dataType" : "varchar(4)",
"type" : 253,
"length" : 4,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
}
],
"constraints" : [
{
"id" : "rmf_enh_baseline_control_id",
"local" : "control_id",
"schema" : "rmf",
"table" : "controls",
"field" : "control_id",
"update" : null,
"delete" : null
},
{
"id" : "rmf_eny_baseline_enh_id",
"local" : "enh_id",
"schema" : "rmf",
"table" : "control_enh",
"field" : "enh_id",
"update" : null,
"delete" : null
}
],
"index" : [
{
"id" : "rmf_enh_baseline_enh_id_idx",
"type" : "index",
"ref" : "enh_id"
},
{
"id" : "rmf_enh_baseline_control_id_idx",
"type" : "index",
"ref" : "control_id"
}
]
},
{
"schema" : "rmf",
"name" : "cci",
"primary_key" : [
"id"
],
"fields" : [
{
"name" : "id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "control_id",
"dataType" : "varchar(6)",
"type" : 253,
"length" : 6,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "enh_id",
"dataType" : "varchar(4)",
"type" : 253,
"length" : 4,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "def",
"dataType" : "text",
"type" : 252,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "guidance",
"dataType" : "text",
"type" : 252,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "procedures",
"dataType" : "text",
"type" : 252,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
}
],
"constraints" : [
{
"id" : "fk_cci_controls1",
"local" : "control_id",
"schema" : "rmf",
"table" : "controls",
"field" : "control_id",
"update" : null,
"delete" : null
},
{
"id" : "fk_cci_control_enh1",
"local" : "enh_id",
"schema" : "rmf",
"table" : "control_enh",
"field" : "enh_id",
"update" : null,
"delete" : null
}
],
"index" : [
{
"id" : "fk_cci_controls1_idx",
"type" : "index",
"ref" : "control_id"
},
{
"id" : "fk_cci_control_enh1_idx",
"type" : "index",
"ref" : "enh_id"
}
]
},
{
"schema" : "rmf",
"name" : "emass_cci",
"primary_key" : [
"id"
],
"fields" : [
{
"name" : "id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "control",
"dataType" : "varchar(25)",
"type" : 253,
"length" : 25,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
}
]
},
{
"schema" : "sagacity",
"name" : "help",
"primary_key" : [
"section"
],
"fields" : [
{
"name" : "section",
"dataType" : "varchar(10)",
"type" : 253,
"length" : 10,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "topic",
"dataType" : "varchar(100)",
"type" : 253,
"length" : 100,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "title",
"dataType" : "varchar(100)",
"type" : 253,
"length" : 100,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "content",
"dataType" : "mediumtext",
"type" : 250,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
}
],
"index" : [
{
"id" : "section_id",
"type" : "index",
"ref" : "section"
}
]
},
{
"schema" : "sagacity",
"name" : "pdi_catalog",
"primary_key" : [
"id"
],
"fields" : [
{
"name" : "id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : true,
"nn" : true,
"default" : ""
},
{
"name" : "cat",
"dataType" : "enum",
"type" : 247,
"length" : null,
"values" : [
"1",
"2",
"3"
],
"ai" : false,
"nn" : true,
"default" : "2"
},
{
"name" : "update",
"dataType" : "datetime",
"type" : 12,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : ""
},
{
"name" : "short_title",
"dataType" : "varchar(1024)",
"type" : 253,
"length" : 1024,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
2018-07-26 08:33:50 -04:00
"name" : "check_contents",
2018-05-07 10:51:08 -04:00
"dataType" : "text",
"type" : 252,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
}
]
},
{
"schema" : "sagacity",
"name" : "sites",
"primary_key" : [
"id"
],
"fields" : [
{
"name" : "id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : true,
"nn" : true,
"default" : ""
},
{
"name" : "name",
"dataType" : "varchar(45)",
"type" : 253,
"length" : 45,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "address",
"dataType" : "varchar(45)",
"type" : 253,
"length" : 45,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "city",
"dataType" : "varchar(45)",
"type" : 253,
"length" : 45,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "state",
"dataType" : "varchar(5)",
"type" : 253,
"length" : 5,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "zip",
"dataType" : "int(5)",
"type" : 3,
"length" : 5,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "country",
"dataType" : "varchar(5)",
"type" : 253,
"length" : 5,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : "US"
},
{
"name" : "poc_name",
"dataType" : "varchar(45)",
"type" : 253,
"length" : 45,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "poc_email",
"dataType" : "varchar(64)",
"type" : 253,
"length" : 64,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "poc_phone",
"dataType" : "varchar(15)",
"type" : 253,
"length" : 15,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
}
]
},
{
"schema" : "sagacity",
"name" : "system",
"primary_key" : [
"id"
],
"fields" : [
{
"name" : "id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : true,
"nn" : true,
"default" : ""
},
{
"name" : "name",
"dataType" : "varchar(45)",
"type" : 253,
"length" : 45,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "abbr",
"dataType" : "varchar(20)",
"type" : 253,
"length" : 20,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "mac",
"dataType" : "enum",
"type" : 247,
"length" : null,
"values" : [
"1",
"2",
"3"
],
"ai" : false,
"nn" : true,
"default" : "3"
},
{
"name" : "classification",
"dataType" : "enum",
"type" : 247,
"length" : null,
"values" : [
"Unclass",
"FOUO",
"C",
"S",
"TS",
"SCI",
"Public",
"Classified",
"Sensitive"
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "acred_type",
"dataType" : "enum",
"type" : 247,
"length" : null,
"values" : [
"diacap",
"rmf",
"pci",
"nispom",
"hipaa",
"sox",
"cobit"
],
"ai" : false,
"nn" : false,
"default" : "diacap"
},
{
"name" : "mitigations",
"dataType" : "mediumtext",
"type" : 250,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "description",
"dataType" : "mediumtext",
"type" : 250,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "executive_summary",
"dataType" : "mediumtext",
"type" : 250,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "diagram",
"dataType" : "mediumblob",
"type" : 250,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
}
]
},
{
"schema" : "sagacity",
"name" : "software",
"primary_key" : [
"id"
],
"fields" : [
{
"name" : "id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : true,
"nn" : true,
"default" : ""
},
{
"name" : "cpe",
"dataType" : "varchar(255)",
"type" : 253,
"length" : 255,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "cpe23",
"dataType" : "varchar(255)",
"type" : 253,
"length" : 255,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "sw_string",
"dataType" : "varchar(255)",
"type" : 253,
"length" : 255,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "short_sw_string",
"dataType" : "varchar(64)",
"type" : 253,
"length" : 64,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
}
]
},
{
"schema" : "sagacity",
"name" : "sources",
"primary_key" : [
"id"
],
"fields" : [
{
"name" : "id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : true,
"nn" : true,
"default" : ""
},
{
"name" : "name",
"dataType" : "varchar(20)",
"type" : 253,
"length" : 20,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "icon",
"dataType" : "varchar(64)",
"type" : 253,
"length" : 64,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
}
]
},
{
"schema" : "sagacity",
"name" : "false_positives",
"primary_key" : [
"pdi_id",
"src_id"
],
"fields" : [
{
"name" : "pdi_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "src_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "notes",
"dataType" : "text",
"type" : 252,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
}
],
"constraints" : [
{
"id" : "fp_pdi_id",
"local" : "pdi_id",
"schema" : "sagacity",
"table" : "pdi_catalog",
"field" : "id",
"update" : null,
"delete" : null
},
{
"id" : "fp_src_id",
"local" : "src_id",
"schema" : "sagacity",
"table" : "sources",
"field" : "id",
"update" : null,
"delete" : null
}
]
},
{
"schema" : "sagacity",
"name" : "exceptions",
"primary_key" : [
"pdi_id",
"sys_id"
],
"fields" : [
{
"name" : "pdi_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "sys_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "notes",
"dataType" : "text",
"type" : 252,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
}
],
"constraints" : [
{
"id" : "exp_pdi_id",
"local" : "pdi_id",
"schema" : "sagacity",
"table" : "pdi_catalog",
"field" : "id",
"update" : null,
"delete" : null
},
{
"id" : "exp_sys_id",
"local" : "sys_id",
"schema" : "sagacity",
"table" : "system",
"field" : "id",
"update" : null,
"delete" : null
}
]
},
{
"schema" : "sagacity",
"name" : "task_status",
"primary_key" : [
"id"
],
"fields" : [
{
"name" : "id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : true,
"nn" : true,
"default" : ""
},
{
"name" : "status",
"dataType" : "varchar(20)",
"type" : 253,
"length" : 20,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
}
]
},
{
"schema" : "sagacity",
"name" : "category",
"primary_key" : [
"id"
],
"fields" : [
{
"name" : "id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : true,
"nn" : true,
"default" : ""
},
{
"name" : "name",
"dataType" : "varchar(45)",
"type" : 253,
"length" : 45,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
}
]
},
{
"schema" : "sagacity",
"name" : "findings_status",
"primary_key" : [
"id"
],
"fields" : [
{
"name" : "id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : true,
"nn" : true,
"default" : ""
},
{
"name" : "status",
"dataType" : "varchar(20)",
"type" : 253,
"length" : 20,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
}
]
},
{
"schema" : "sagacity",
"name" : "ports_proto_services",
"primary_key" : [
"id"
],
"fields" : [
{
"name" : "id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : true,
"nn" : true,
"default" : ""
},
{
"name" : "port",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "proto",
"dataType" : "enum",
"type" : 247,
"length" : null,
"values" : [
"tcp",
"udp",
"dccp",
"sctp"
],
"ai" : false,
"nn" : true,
"default" : "tcp"
},
{
"name" : "IANA_Name",
"dataType" : "varchar(45)",
"type" : 253,
"length" : 45,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "description",
"dataType" : "varchar(500)",
"type" : 253,
"length" : 500,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "banner",
"dataType" : "varchar(500)",
"type" : 253,
"length" : 500,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "notes",
"dataType" : "varchar(500)",
"type" : 253,
"length" : 500,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
}
]
},
{
"schema" : "sagacity",
"name" : "proc_ia_controls",
"primary_key" : [
"control_id"
],
"fields" : [
{
"name" : "control_id",
"dataType" : "varchar(10)",
"type" : 253,
"length" : 10,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "name",
"dataType" : "varchar(100)",
"type" : 253,
"length" : 100,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "subject_area",
"dataType" : "varchar(50)",
"type" : 253,
"length" : 50,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "description",
"dataType" : "varchar(255)",
"type" : 253,
"length" : 255,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "threat_vul_cm",
"dataType" : "varchar(255)",
"type" : 253,
"length" : 255,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "gen_imp_guide",
"dataType" : "text",
"type" : 252,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "impact",
"dataType" : "enum",
"type" : 247,
"length" : null,
"values" : [
"low",
"medium",
"high"
],
"ai" : false,
"nn" : false,
"default" : "medium"
}
]
},
{
"schema" : "sagacity",
"name" : "proc_ia_sub_controls",
"primary_key" : [
"sub_control_id"
],
"fields" : [
{
"name" : "sub_control_id",
"dataType" : "varchar(10)",
"type" : 253,
"length" : 10,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "parent_control_id",
"dataType" : "varchar(10)",
"type" : 253,
"length" : 10,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "name",
"dataType" : "varchar(100)",
"type" : 253,
"length" : 100,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "objective",
"dataType" : "varchar(255)",
"type" : 253,
"length" : 255,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "prep",
"dataType" : "text",
"type" : 252,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "script",
"dataType" : "text",
"type" : 252,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "exp_result",
"dataType" : "text",
"type" : 252,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
}
],
"constraints" : [
{
"id" : "parent_cont_id",
"local" : "parent_control_id",
"schema" : "sagacity",
"table" : "proc_ia_controls",
"field" : "control_id",
"update" : null,
"delete" : null
}
],
"index" : [
{
"id" : "parent_cont_id_idx",
"type" : "index",
"ref" : "parent_control_id"
}
]
},
{
"schema" : "sagacity",
"name" : "proc_level_type",
"primary_key" : [
"proc_control_id",
"type",
"level",
"class"
],
"fields" : [
{
"name" : "proc_control_id",
"dataType" : "varchar(10)",
"type" : 253,
"length" : 10,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "type",
"dataType" : "enum",
"type" : 247,
"length" : null,
"values" : [
"diacap",
"rmf"
],
"ai" : false,
"nn" : true,
"default" : "diacap"
},
{
"name" : "level",
"dataType" : "tinyint(1)",
"type" : 1,
"length" : 1,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : null
},
{
"name" : "class",
"dataType" : "enum",
"type" : 247,
"length" : null,
"values" : [
"cl",
"pub",
"sen",
"u",
"fouo",
"s",
"ts",
"sci"
],
"ai" : false,
"nn" : true,
"default" : null
}
],
"constraints" : [
{
"id" : "proc_control_id",
"local" : "proc_control_id",
"schema" : "sagacity",
"table" : "proc_ia_controls",
"field" : "control_id",
"update" : null,
"delete" : null
}
]
},
{
"schema" : "sagacity",
"name" : "checklist",
"primary_key" : [
"id"
],
"fields" : [
{
"name" : "id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : true,
"nn" : true,
"default" : ""
},
{
"name" : "checklist_id",
"dataType" : "varchar(255)",
"type" : 253,
"length" : 255,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "name",
"dataType" : "varchar(255)",
"type" : 253,
"length" : 255,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "description",
"dataType" : "text",
"type" : 252,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "date",
"dataType" : "date",
"type" : 14,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "file_name",
"dataType" : "varchar(255)",
"type" : 253,
"length" : 255,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "ver",
"dataType" : "tinyint(3)",
"type" : 1,
"length" : 3,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "release",
"dataType" : "varchar(5)",
"type" : 253,
"length" : 5,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "type",
"dataType" : "enum",
"type" : 247,
"length" : null,
"values" : [
"benchmark",
"manual",
"policy",
"iavm"
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "icon",
"dataType" : "varchar(45)",
"type" : 253,
"length" : 45,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
}
]
},
{
"schema" : "sagacity",
"name" : "checklist_software_lookup",
"primary_key" : [
"chk_id",
"sw_id"
],
"fields" : [
{
"name" : "chk_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "sw_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
}
],
"constraints" : [
{
"id" : "chk_sw_lu_chk_id",
"local" : "chk_id",
"schema" : "sagacity",
"table" : "checklist",
"field" : "id",
"update" : null,
"delete" : null
},
{
"id" : "chk_sw_lu_sw_id",
"local" : "sw_id",
"schema" : "sagacity",
"table" : "software",
"field" : "id",
"update" : null,
"delete" : null
}
],
"index" : [
{
"id" : "chk_sw_lu_chk_id_idx",
"type" : "index",
"ref" : "chk_id"
},
{
"id" : "chk_sw_lu_sw_id_idx",
"type" : "index",
"ref" : "sw_id"
}
]
},
{
"schema" : "sagacity",
"name" : "pdi_checklist_lookup",
"primary_key" : [
"pdi_id",
"checklist_id"
],
"fields" : [
{
"name" : "pdi_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "checklist_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "group_title",
"dataType" : "varchar(2048)",
"type" : 253,
"length" : 2048,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "short_title",
"dataType" : "varchar(1024)",
"type" : 253,
"length" : 1024,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "check_contents",
"dataType" : "mediumtext",
"type" : 250,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "fix_text",
"dataType" : "text",
"type" : 252,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "tweak_data",
"dataType" : "mediumtext",
"type" : 250,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
}
],
"constraints" : [
{
"id" : "pdi_chk_chk_id",
"local" : "checklist_id",
"schema" : "sagacity",
"table" : "checklist",
"field" : "id",
"update" : null,
"delete" : null
},
{
"id" : "pdi_pdi_id",
"local" : "pdi_id",
"schema" : "sagacity",
"table" : "pdi_catalog",
"field" : "id",
"update" : null,
"delete" : null
}
],
"index" : [
{
"id" : "pdi_chk_chk_id_idx",
"type" : "index",
"ref" : "checklist_id"
},
{
"id" : "pdi_pdi_id_idx",
"type" : "index",
"ref" : "pdi_id"
}
]
},
{
"schema" : "sagacity",
"name" : "advisories",
"primary_key" : [
"advisory_id",
"pdi_id"
],
"fields" : [
{
"name" : "pdi_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "advisory_id",
"dataType" : "varchar(255)",
"type" : 253,
"length" : 255,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "title",
"dataType" : "varchar(255)",
"type" : 253,
"length" : 255,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "impact",
"dataType" : "varchar(64)",
"type" : 253,
"length" : 64,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "type",
"dataType" : "varchar(45)",
"type" : 253,
"length" : 45,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "referece",
"dataType" : "varchar(255)",
"type" : 253,
"length" : 255,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "url",
"dataType" : "varchar(255)",
"type" : 253,
"length" : 255,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
}
],
"constraints" : [
{
"id" : "ad_pdi_id",
"local" : "pdi_id",
"schema" : "sagacity",
"table" : "pdi_catalog",
"field" : "id",
"update" : null,
"delete" : null
}
],
"index" : [
{
"id" : "ad_pdi_id_idx",
"type" : "index",
"ref" : "pdi_id"
}
]
},
{
"schema" : "sagacity",
"name" : "cce",
"primary_key" : [
"pdi_id",
"cce_id"
],
"fields" : [
{
"name" : "pdi_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "cce_id",
"dataType" : "varchar(45)",
"type" : 253,
"length" : 45,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
}
],
"constraints" : [
{
"id" : "cce_pdi_id",
"local" : "pdi_id",
"schema" : "sagacity",
"table" : "pdi_catalog",
"field" : "id",
"update" : null,
"delete" : null
}
],
"index" : [
{
"id" : "cce_pdi_id_idx",
"type" : "index",
"ref" : "pdi_id"
}
]
},
{
"schema" : "sagacity",
"name" : "cci",
"primary_key" : [
"cci_id"
],
"fields" : [
{
"name" : "cci_id",
"dataType" : "varchar(20)",
"type" : 253,
"length" : 20,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "type",
"dataType" : "enum",
"type" : 247,
"length" : null,
"values" : [
"policy",
"technical"
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "definition",
"dataType" : "varchar(500)",
"type" : 253,
"length" : 500,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "param",
"dataType" : "varchar(100)",
"type" : 253,
"length" : 100,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "note",
"dataType" : "text",
"type" : 252,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
}
],
"index" : [
{
"id" : "cci_id_idx",
"type" : "index",
"ref" : "cci_id"
}
]
},
{
"schema" : "sagacity",
"name" : "cci_refs",
"primary_key" : [
"cci_id",
"title"
],
"fields" : [
{
"name" : "cci_id",
"dataType" : "varchar(20)",
"type" : 253,
"length" : 20,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "title",
"dataType" : "varchar(20)",
"type" : 253,
"length" : 20,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : null
},
{
"name" : "ver",
"dataType" : "tinyint(2)",
"type" : 1,
"length" : 2,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "url",
"dataType" : "varchar(255)",
"type" : 253,
"length" : 255,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "index",
"dataType" : "varchar(40)",
"type" : 253,
"length" : 40,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
}
],
"constraints" : [
{
"id" : "cci_refs_cci_id",
"local" : "cci_id",
"schema" : "sagacity",
"table" : "cci",
"field" : "cci_id",
"update" : null,
"delete" : null
}
],
"index" : [
{
"id" : "cci_refs_cci_id_idx",
"type" : "index",
"ref" : "cci_id"
},
{
"id" : "cci_refs_title_idx",
"type" : "index",
"ref" : "title"
}
]
},
{
"schema" : "sagacity",
"name" : "cve_db",
"primary_key" : [
"cve_id"
],
"fields" : [
{
"name" : "cve_id",
"dataType" : "varchar(20)",
"type" : 253,
"length" : 20,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "seq",
"dataType" : "varchar(20)",
"type" : 253,
"length" : 20,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "status",
"dataType" : "varchar(20)",
"type" : 253,
"length" : 20,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "phase",
"dataType" : "varchar(20)",
"type" : 253,
"length" : 20,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "phase_date",
"dataType" : "date",
"type" : 14,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "desc",
"dataType" : "varchar(255)",
"type" : 253,
"length" : 255,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "cvss",
"dataType" : "decimal(4,2)",
"type" : 0,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
}
],
"index" : [
{
"id" : "cve_idx",
"type" : "index",
"ref" : "cve_id"
}
]
},
{
"schema" : "sagacity",
"name" : "cve_references",
"primary_key" : [
"id"
],
"fields" : [
{
"name" : "id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : true,
"nn" : true,
"default" : ""
},
{
"name" : "cve_seq",
"dataType" : "varchar(20)",
"type" : 253,
"length" : 20,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "source",
"dataType" : "varchar(45)",
"type" : 253,
"length" : 45,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "url",
"dataType" : "varchar(255)",
"type" : 253,
"length" : 255,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "val",
"dataType" : "varchar(255)",
"type" : 253,
"length" : 255,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
}
],
"constraints" : [
{
"id" : "cve_cve_ref_id",
"local" : "cve_seq",
"schema" : "sagacity",
"table" : "cve_db",
"field" : "cve_id",
"update" : null,
"delete" : null
}
],
"index" : [
{
"id" : "cve_ref_idx",
"type" : "index",
"ref" : "cve_seq"
}
]
},
{
"schema" : "sagacity",
"name" : "cve",
"primary_key" : [
"pdi_id",
"cve_id"
],
"fields" : [
{
"name" : "pdi_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "cve_id",
"dataType" : "varchar(20)",
"type" : 253,
"length" : 20,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
}
],
"constraints" : [
{
"id" : "cve_pdi_id",
"local" : "pdi_id",
"schema" : "sagacity",
"table" : "pdi_catalog",
"field" : "id",
"update" : null,
"delete" : null
},
{
"id" : "cve_cve_id",
"local" : "cve_id",
"schema" : "sagacity",
"table" : "cve_db",
"field" : "cve_id",
"update" : null,
"delete" : null
}
]
},
{
"schema" : "sagacity",
"name" : "cve_web",
"primary_key" : ["cve_id"],
"fields" : [
{
"name" : "cve_id",
"dataType" : "varchar(20)",
"type" : 253,
"length" : 20,
"values" : [],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "xml",
"dataType" : "mediumtext",
"type" : 250,
"length" : null,
"values" : [],
"ai" : false,
"nn" : false,
"default" : null
}
],
"constraints" : [
{
"id" : "cve_web_cve_id",
"local" : "cve_id",
"schema" : "sagacity",
"table" : "cve_db",
"field" : "cve_id",
"update" : null,
"delete" : null
}
]
},
{
"schema" : "sagacity",
"name" : "golddisk",
"primary_key" : [
"pdi_id",
"vms_id"
],
"fields" : [
{
"name" : "pdi_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "vms_id",
"dataType" : "varchar(20)",
"type" : 253,
"length" : 20,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "short_title",
"dataType" : "varchar(64)",
"type" : 253,
"length" : 64,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
}
],
"constraints" : [
{
"id" : "gd_pdi_id",
"local" : "pdi_id",
"schema" : "sagacity",
"table" : "pdi_catalog",
"field" : "id",
"update" : null,
"delete" : null
}
],
"index" : [
{
"id" : "gd_pdi_id_idx",
"type" : "index",
"ref" : "pdi_id"
}
]
},
{
"schema" : "sagacity",
"name" : "ia_controls",
"primary_key" : [
"pdi_id",
"type",
"type_id"
],
"fields" : [
{
"name" : "pdi_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "type",
"dataType" : "varchar(5)",
"type" : 253,
"length" : 5,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "type_id",
"dataType" : "varchar(8)",
"type" : 253,
"length" : 8,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
}
],
"constraints" : [
{
"id" : "ia_pdi_id",
"local" : "pdi_id",
"schema" : "sagacity",
"table" : "pdi_catalog",
"field" : "id",
"update" : null,
"delete" : null
}
],
"index" : [
{
"id" : "ia_pdi_id_idx",
"type" : "index",
"ref" : "pdi_id"
}
]
},
{
"schema" : "sagacity",
"name" : "iavm_notices",
"primary_key" : [
"noticeId"
],
"fields" : [
{
"name" : "noticeId",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "pdi_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "xmlUrl",
"dataType" : "varchar(255)",
"type" : 253,
"length" : 255,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "htmlUrl",
"dataType" : "varchar(255)",
"type" : 253,
"length" : 255,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "file_name",
"dataType" : "varchar(255)",
"type" : 253,
"length" : 255,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "iavmNoticeNumber",
"dataType" : "varchar(20)",
"type" : 253,
"length" : 20,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "title",
"dataType" : "varchar(255)",
"type" : 253,
"length" : 255,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "type",
"dataType" : "varchar(5)",
"type" : 253,
"length" : 5,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "state",
"dataType" : "varchar(45)",
"type" : 253,
"length" : 45,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "lastUpdated",
"dataType" : "date",
"type" : 14,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "releaseDate",
"dataType" : "date",
"type" : 14,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "supersedes",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "executiveSummary",
"dataType" : "text",
"type" : 252,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "fixAction",
"dataType" : "text",
"type" : 252,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "note",
"dataType" : "text",
"type" : 252,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "vulnAppsSysAndCntrmsrs",
"dataType" : "text",
"type" : 252,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "stigFindingSeverity",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "knownExploits",
"dataType" : "varchar(45)",
"type" : 253,
"length" : 45,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
}
],
"constraints" : [
{
"id" : "iavm_pdi_id",
"local" : "pdi_id",
"schema" : "sagacity",
"table" : "pdi_catalog",
"field" : "id",
"update" : null,
"delete" : null
}
],
"index" : [
{
"id" : "iavm_pdi_id_idx",
"type" : "index",
"ref" : "pdi_id"
}
]
},
{
"schema" : "sagacity",
"name" : "iavm_bids",
"primary_key" : [
"id"
],
"fields" : [
{
"name" : "id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : true,
"nn" : true,
"default" : ""
},
{
"name" : "iavm_notice_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "bid",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
}
],
"constraints" : [
{
"id" : "bids_iavm_id",
"local" : "iavm_notice_id",
"schema" : "sagacity",
"table" : "iavm_notices",
"field" : "noticeId",
"update" : null,
"delete" : null
}
],
"index" : [
{
"id" : "bids_iavm_id_idx",
"type" : "index",
"ref" : "iavm_notice_id"
}
]
},
{
"schema" : "sagacity",
"name" : "iavm_mitigations",
"primary_key" : [
"id"
],
"fields" : [
{
"name" : "id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : true,
"nn" : true,
"default" : ""
},
{
"name" : "iavm_notice_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "header",
"dataType" : "text",
"type" : 252,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "body",
"dataType" : "text",
"type" : 252,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
}
],
"constraints" : [
{
"id" : "mit_iavm_id",
"local" : "iavm_notice_id",
"schema" : "sagacity",
"table" : "iavm_notices",
"field" : "noticeId",
"update" : null,
"delete" : null
}
],
"index" : [
{
"id" : "mit_iavm_id_idx",
"type" : "index",
"ref" : "iavm_notice_id"
}
]
},
{
"schema" : "sagacity",
"name" : "iavm_patches",
"primary_key" : [
"id"
],
"fields" : [
{
"name" : "id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : true,
"nn" : true,
"default" : ""
},
{
"name" : "iavm_notice_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "type",
"dataType" : "varchar(45)",
"type" : 253,
"length" : 45,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "title",
"dataType" : "varchar(255)",
"type" : 253,
"length" : 255,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "url",
"dataType" : "varchar(255)",
"type" : 253,
"length" : 255,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
}
],
"constraints" : [
{
"id" : "patches_iavm_id",
"local" : "iavm_notice_id",
"schema" : "sagacity",
"table" : "iavm_notices",
"field" : "noticeId",
"update" : null,
"delete" : null
}
],
"index" : [
{
"id" : "patches_iavm_id_idx",
"type" : "index",
"ref" : "iavm_notice_id"
}
]
},
{
"schema" : "sagacity",
"name" : "iavm_references",
"primary_key" : [
"id"
],
"fields" : [
{
"name" : "id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : true,
"nn" : true,
"default" : ""
},
{
"name" : "iavm_notice_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "title",
"dataType" : "varchar(255)",
"type" : 253,
"length" : 255,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "url",
"dataType" : "varchar(255)",
"type" : 253,
"length" : 255,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
}
],
"constraints" : [
{
"id" : "ref_iavm_id",
"local" : "iavm_notice_id",
"schema" : "sagacity",
"table" : "iavm_notices",
"field" : "noticeId",
"update" : null,
"delete" : null
}
],
"index" : [
{
"id" : "ref_iavm_id_idx",
"type" : "index",
"ref" : "iavm_notice_id"
}
]
},
{
"schema" : "sagacity",
"name" : "iavm_tech_overview",
"primary_key" : [
"id"
],
"fields" : [
{
"name" : "id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : true,
"nn" : true,
"default" : ""
},
{
"name" : "iavm_notice_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "details",
"dataType" : "text",
"type" : 252,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
}
],
"constraints" : [
{
"id" : "iavm_ovw_iavm_id",
"local" : "iavm_notice_id",
"schema" : "sagacity",
"table" : "iavm_notices",
"field" : "noticeId",
"update" : null,
"delete" : null
}
],
"index" : [
{
"id" : "iavm_ovw_iavm_id_idx",
"type" : "index",
"ref" : "iavm_notice_id"
}
]
},
{
"schema" : "sagacity",
"name" : "iavm_to_cve",
"primary_key" : [
"noticeId",
"cve_id"
],
"fields" : [
{
"name" : "noticeId",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "cve_id",
"dataType" : "varchar(45)",
"type" : 253,
"length" : 45,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
}
],
"constraints" : [
{
"id" : "cve_lookup_id",
"local" : "cve_id",
"schema" : "sagacity",
"table" : "cve_db",
"field" : "cve_id",
"update" : null,
"delete" : null
},
{
"id" : "iavm_lookup_id",
"local" : "noticeId",
"schema" : "sagacity",
"table" : "iavm_notices",
"field" : "noticeId",
"update" : null,
"delete" : null
}
],
"index" : [
{
"id" : "cve_lookup_id_idx",
"type" : "index",
"ref" : "cve_id"
}
]
},
{
"schema" : "sagacity",
"name" : "nessus_plugins",
"primary_key" : [
"plugin_id"
],
"fields" : [
{
"name" : "plugin_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "oid",
"dataType" : "varchar(45)",
"type" : 253,
"length" : 45,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "name",
"dataType" : "varchar(255)",
"type" : 253,
"length" : 255,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "copyright",
"dataType" : "varchar(255)",
"type" : 253,
"length" : 255,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "version",
"dataType" : "varchar(45)",
"type" : 253,
"length" : 45,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "file_name",
"dataType" : "varchar(100)",
"type" : 253,
"length" : 100,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "file_date",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
}
]
},
{
"schema" : "sagacity",
"name" : "nessus_meta",
"primary_key" : [
"meta_id"
],
"fields" : [
{
"name" : "meta_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : true,
"nn" : true,
"default" : ""
},
{
"name" : "plugin_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "type",
"dataType" : "varchar(45)",
"type" : 253,
"length" : 45,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "val",
"dataType" : "mediumtext",
"type" : 250,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
}
],
"constraints" : [
{
"id" : "nessus_plugin_id",
"local" : "plugin_id",
"schema" : "sagacity",
"table" : "nessus_plugins",
"field" : "plugin_id",
"update" : null,
"delete" : null
}
],
"index" : [
{
"id" : "nessus_plugin_id_idx",
"type" : "index",
"ref" : "plugin_id"
}
]
},
{
"schema" : "sagacity",
"name" : "nessus",
"primary_key" : [
"pdi_id",
"nessus_id"
],
"fields" : [
{
"name" : "pdi_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "nessus_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
}
],
"constraints" : [
{
"id" : "nessus_pdi_id",
"local" : "pdi_id",
"schema" : "sagacity",
"table" : "pdi_catalog",
"field" : "id",
"update" : null,
"delete" : null
},
{
"id" : "nessus_n_id",
"local" : "nessus_id",
"schema" : "sagacity",
"table" : "nessus_plugins",
"field" : "plugin_id",
"update" : null,
"delete" : null
}
],
"index" : [
{
"id" : "nessus_pdi_id_idx",
"type" : "index",
"ref" : "pdi_id"
},
{
"id" : "nessus_n_id_idx",
"type" : "index",
"ref" : "nessus_id"
}
]
},
{
"schema" : "sagacity",
"name" : "ov_convert",
"primary_key" : [
"pdi_id",
"const_id",
"value"
],
"fields" : [
{
"name" : "pdi_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "const_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "value",
"dataType" : "varchar(255)",
"type" : 253,
"length" : 255,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
}
],
"constraints" : [
{
"id" : "ov_pdi_id",
"local" : "pdi_id",
"schema" : "sagacity",
"table" : "pdi_catalog",
"field" : "id",
"update" : null,
"delete" : null
}
],
"index" : [
{
"id" : "ov_con_pdi_id_idx",
"type" : "index",
"ref" : "pdi_id"
}
]
},
{
"schema" : "sagacity",
"name" : "oval",
"primary_key" : [
"pdi_id",
"oval_id"
],
"fields" : [
{
"name" : "pdi_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "oval_id",
"dataType" : "varchar(255)",
"type" : 253,
"length" : 255,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "title",
"dataType" : "varchar(100)",
"type" : 253,
"length" : 100,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "desc",
"dataType" : "varchar(255)",
"type" : 253,
"length" : 255,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "platform",
"dataType" : "varchar(100)",
"type" : 253,
"length" : 100,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "ext_def",
"dataType" : "varchar(100)",
"type" : 253,
"length" : 100,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "ext_def_op",
"dataType" : "varchar(10)",
"type" : 253,
"length" : 10,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
}
],
"constraints" : [
{
"id" : "oval_pdi_id",
"local" : "pdi_id",
"schema" : "sagacity",
"table" : "pdi_catalog",
"field" : "id",
"update" : null,
"delete" : null
}
],
"index" : [
{
"id" : "oval_pdi_id_idx",
"type" : "index",
"ref" : "pdi_id"
}
]
},
{
"schema" : "sagacity",
"name" : "oval_ref",
"primary_key" : [
"oval_id",
"source"
],
"fields" : [
{
"name" : "oval_id",
"dataType" : "varchar(255)",
"type" : 253,
"length" : 255,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "source",
"dataType" : "varchar(20)",
"type" : 253,
"length" : 20,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "url",
"dataType" : "varchar(255)",
"type" : 253,
"length" : 255,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "ref_id",
"dataType" : "varchar(100)",
"type" : 253,
"length" : 100,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
}
]
},
{
"schema" : "sagacity",
"name" : "stigs",
"primary_key" : [
"pdi_id",
"stig_id"
],
"fields" : [
{
"name" : "pdi_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "stig_id",
"dataType" : "varchar(45)",
"type" : 253,
"length" : 45,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "description",
"dataType" : "varchar(1000)",
"type" : 253,
"length" : 1000,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "tweak_data",
"dataType" : "mediumtext",
"type" : 250,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
}
],
"constraints" : [
{
"id" : "stigs_pdi_id",
"local" : "pdi_id",
"schema" : "sagacity",
"table" : "pdi_catalog",
"field" : "id",
"update" : null,
"delete" : null
}
],
"index" : [
{
"id" : "stigs_pdi_id_idx",
"type" : "index",
"ref" : "pdi_id"
}
]
},
{
"schema" : "sagacity",
"name" : "sv_rule",
"primary_key" : [
"pdi_id",
"sv_rule"
],
"fields" : [
{
"name" : "pdi_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "sv_rule",
"dataType" : "varchar(45)",
"type" : 253,
"length" : 45,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
}
],
"constraints" : [
{
"id" : "sv_pdi_id",
"local" : "pdi_id",
"schema" : "sagacity",
"table" : "pdi_catalog",
"field" : "id",
"update" : null,
"delete" : null
}
],
"index" : [
{
"id" : "sv_pdi_id_idx",
"type" : "index",
"ref" : "pdi_id"
}
]
},
{
"schema" : "sagacity",
"name" : "people",
"primary_key" : [
"id"
],
"fields" : [
{
"name" : "id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : true,
"nn" : true,
"default" : ""
},
{
"name" : "org",
"dataType" : "varchar(45)",
"type" : 253,
"length" : 45,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "name",
"dataType" : "varchar(60)",
"type" : 253,
"length" : 60,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "phone",
"dataType" : "varchar(15)",
"type" : 253,
"length" : 15,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
}
]
},
{
"schema" : "sagacity",
"name" : "ste",
"primary_key" : [
"id"
],
"fields" : [
{
"name" : "id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : true,
"nn" : true,
"default" : ""
},
{
"name" : "system_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "site_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "eval_start",
"dataType" : "datetime",
"type" : 12,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : ""
},
{
"name" : "eval_end",
"dataType" : "datetime",
"type" : 12,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : ""
},
{
"name" : "multiple",
"dataType" : "tinyint(1)",
"type" : 1,
"length" : 1,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : "0"
},
{
"name" : "primary",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : "0"
},
{
"name" : "scope",
"dataType" : "mediumtext",
"type" : 250,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "ao",
"dataType" : "varchar(45)",
"type" : 253,
"length" : 45,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "assumptions",
"dataType" : "mediumtext",
"type" : 250,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "constraints",
"dataType" : "mediumtext",
"type" : 250,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "recommendations",
"dataType" : "mediumtext",
"type" : 250,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "residual_risk",
"dataType" : "mediumtext",
"type" : 250,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "risk_status",
"dataType" : "enum",
"type" : 247,
"length" : null,
"values" : [
"very low",
"low",
"medium",
"high",
"very high"
],
"ai" : false,
"nn" : false,
"default" : "medium"
},
{
"name" : "deviations",
"dataType" : "mediumtext",
"type" : 250,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "conclusion",
"dataType" : "mediumtext",
"type" : 250,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
}
],
"constraints" : [
{
"id" : "ste_sys_id",
"local" : "system_id",
"schema" : "sagacity",
"table" : "system",
"field" : "id",
"update" : null,
"delete" : null
},
{
"id" : "ste_site_id",
"local" : "site_id",
"schema" : "sagacity",
"table" : "sites",
"field" : "id",
"update" : null,
"delete" : null
}
],
"index" : [
{
"id" : "ste_sys_id_idx",
"type" : "index",
"ref" : "system_id"
},
{
"id" : "ste_site_id_idx",
"type" : "index",
"ref" : "site_id"
}
]
},
{
"schema" : "sagacity",
"name" : "ste_team",
"primary_key" : [
"people_id",
"ste_id"
],
"fields" : [
{
"name" : "people_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "ste_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "pos",
"dataType" : "varchar(60)",
"type" : 253,
"length" : 60,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
}
],
"constraints" : [
{
"id" : "ste_team_people_id",
"local" : "people_id",
"schema" : "sagacity",
"table" : "people",
"field" : "id",
"update" : null,
"delete" : null
},
{
"id" : "ste_team_ste_id",
"local" : "ste_id",
"schema" : "sagacity",
"table" : "ste",
"field" : "id",
"update" : null,
"delete" : null
}
]
},
{
"schema" : "sagacity",
"name" : "ste_cat",
"primary_key" : [
"id"
],
"fields" : [
{
"name" : "id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : true,
"nn" : true,
"default" : ""
},
{
"name" : "ste_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "name",
"dataType" : "varchar(45)",
"type" : 253,
"length" : 45,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "analysts",
"dataType" : "varchar(20)",
"type" : 253,
"length" : 20,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
}
],
"constraints" : [
{
"id" : "ste_cat_ste_id",
"local" : "ste_id",
"schema" : "sagacity",
"table" : "ste",
"field" : "id",
"update" : null,
"delete" : null
}
],
"index" : [
{
"id" : "ste_cat_ste_id_idx",
"type" : "index",
"ref" : "ste_id"
}
]
},
{
"schema" : "sagacity",
"name" : "ste_cat_sources",
"primary_key" : [
"cat_id",
"src_id"
],
"fields" : [
{
"name" : "cat_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "src_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
}
],
"constraints" : [
{
"id" : "ste_cat_cat_id",
"local" : "cat_id",
"schema" : "sagacity",
"table" : "ste_cat",
"field" : "id",
"update" : null,
"delete" : null
},
{
"id" : "ste_cat_src_id",
"local" : "src_id",
"schema" : "sagacity",
"table" : "sources",
"field" : "id",
"update" : null,
"delete" : null
}
]
},
{
"schema" : "sagacity",
"name" : "interview_questions",
"primary_key" : [
"id"
],
"fields" : [
{
"name" : "id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : true,
"nn" : true,
"default" : ""
},
{
"name" : "cat",
"dataType" : "varchar(64)",
"type" : 253,
"length" : 64,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "key",
"dataType" : "varchar(20)",
"type" : 253,
"length" : 20,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "question",
"dataType" : "text",
"type" : 252,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
}
]
},
{
"schema" : "sagacity",
"name" : "category_interview",
"primary_key" : [
"cat_id",
"ques_id"
],
"fields" : [
{
"name" : "cat_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "ques_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "answer",
"dataType" : "tinyint(1)",
"type" : 1,
"length" : 1,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
}
],
"constraints" : [
{
"id" : "cat_int_cat_id",
"local" : "cat_id",
"schema" : "sagacity",
"table" : "ste_cat",
"field" : "id",
"update" : null,
"delete" : null
},
{
"id" : "cat_int_ques_id",
"local" : "ques_id",
"schema" : "sagacity",
"table" : "interview_questions",
"field" : "id",
"update" : null,
"delete" : null
}
],
"index" : [
{
"id" : "cat_int_ques_id_idx",
"type" : "index",
"ref" : "ques_id"
}
]
},
{
"schema" : "sagacity",
"name" : "scans",
"primary_key" : [
"id"
],
"fields" : [
{
"name" : "id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : true,
"nn" : true,
"default" : ""
},
{
"name" : "src_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "ste_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "pid",
"dataType" : "int(5)",
"type" : 3,
"length" : 5,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "itr",
"dataType" : "int(5)",
"type" : 3,
"length" : 5,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "file_name",
"dataType" : "varchar(150)",
"type" : 253,
"length" : 150,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "file_date",
"dataType" : "date",
"type" : 14,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "start_time",
"dataType" : "datetime",
"type" : 12,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : ""
},
{
"name" : "last_update",
"dataType" : "datetime",
"type" : 12,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : ""
},
{
"name" : "status",
"dataType" : "enum",
"type" : 247,
"length" : null,
"values" : [
"IN QUEUE",
"RUNNING",
"COMPLETE",
"ERROR",
"TERMINATED"
],
"ai" : false,
"nn" : true,
"default" : "IN QUEUE"
},
{
"name" : "perc_comp",
"dataType" : "decimal(5,2)",
"type" : 0,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "last_host",
"dataType" : "varchar(64)",
"type" : 253,
"length" : 64,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "hosts_comp",
"dataType" : "int(5)",
"type" : 3,
"length" : 5,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : "0"
},
{
"name" : "host_count",
"dataType" : "int(5)",
"type" : 3,
"length" : 5,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "notes",
"dataType" : "text",
"type" : 252,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "location",
"dataType" : "varchar(45)",
"type" : 253,
"length" : 45,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
}
],
"constraints" : [
{
"id" : "scan_src_id",
"local" : "src_id",
"schema" : "sagacity",
"table" : "sources",
"field" : "id",
"update" : null,
"delete" : null
},
{
"id" : "scan_ste_id",
"local" : "ste_id",
"schema" : "sagacity",
"table" : "ste",
"field" : "id",
"update" : null,
"delete" : null
}
],
"index" : [
{
"id" : "scan_src_id_idx",
"type" : "index",
"ref" : "src_id"
},
{
"id" : "scan_ste_id_idx",
"type" : "index",
"ref" : "ste_id"
}
]
},
{
"schema" : "sagacity",
"name" : "target",
"primary_key" : [
"ste_id",
"name"
],
"unique" : [
"id"
],
"fields" : [
{
"name" : "id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : ""
},
{
"name" : "cat_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "os_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "ste_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "auto_status_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "man_status_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "data_status_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "fp_cat1_status_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "name",
"dataType" : "varchar(64)",
"type" : 253,
"length" : 64,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "location",
"dataType" : "varchar(45)",
"type" : 253,
"length" : 45,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "source",
"dataType" : "varchar(20)",
"type" : 253,
"length" : 20,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "cat_1",
"dataType" : "int(5)",
"type" : 3,
"length" : 5,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : "0"
},
{
"name" : "cat_2",
"dataType" : "int(5)",
"type" : 3,
"length" : 5,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : "0"
},
{
"name" : "cat_3",
"dataType" : "int(5)",
"type" : 3,
"length" : 5,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : "0"
},
{
"name" : "closed",
"dataType" : "int(5)",
"type" : 3,
"length" : 5,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : "0"
},
{
"name" : "not_applicable",
"dataType" : "int(5)",
"type" : 3,
"length" : 5,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : "0"
},
{
"name" : "not_reviewed",
"dataType" : "int(5)",
"type" : 3,
"length" : 5,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : 0
},
{
"name" : "compliance",
"dataType" : "tinyint(3)",
"type" : 1,
"length" : 3,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : "0"
},
{
"name" : "assessed",
"dataType" : "tinyint(3)",
"type" : 1,
"length" : 3,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : "0"
},
{
"name" : "notes",
"dataType" : "mediumtext",
"type" : 250,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "missing_patches",
"dataType" : "mediumtext",
"type" : 250,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "os_string",
"dataType" : "varchar(255)",
"type" : 253,
"length" : 255,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "pp_flag",
"dataType" : "tinyint(1)",
"type" : 1,
"length" : 1,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : "1"
},
{
"name" : "pp_off",
"dataType" : "tinyint(1)",
"type" : 1,
"length" : 1,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : "0"
},
{
"name" : "class",
"dataType" : "enum",
"type" : 247,
"length" : null,
"values" : [
"U",
"FOUO",
"S"
],
"ai" : false,
"nn" : false,
"default" : "U"
}
],
"constraints" : [
{
"id" : "t_cat_id",
"local" : "cat_id",
"schema" : "sagacity",
"table" : "ste_cat",
"field" : "id",
"update" : null,
"delete" : null
},
{
"id" : "t_os_id",
"local" : "os_id",
"schema" : "sagacity",
"table" : "software",
"field" : "id",
"update" : null,
"delete" : null
},
{
"id" : "t_ste_id",
"local" : "ste_id",
"schema" : "sagacity",
"table" : "ste",
"field" : "id",
"update" : null,
"delete" : null
},
{
"id" : "t_auto_id",
"local" : "auto_status_id",
"schema" : "sagacity",
"table" : "task_status",
"field" : "id",
"update" : null,
"delete" : null
},
{
"id" : "t_man_id",
"local" : "man_status_id",
"schema" : "sagacity",
"table" : "task_status",
"field" : "id",
"update" : null,
"delete" : null
},
{
"id" : "t_data_id",
"local" : "data_status_id",
"schema" : "sagacity",
"table" : "task_status",
"field" : "id",
"update" : null,
"delete" : null
},
{
"id" : "t_fp_cat1_id",
"local" : "fp_cat1_status_id",
"schema" : "sagacity",
"table" : "task_status",
"field" : "id",
"update" : null,
"delete" : null
}
],
"index" : [
{
"id" : "t_id_idx",
"type" : "index",
"ref" : "id"
},
{
"id" : "t_name_idx",
"type" : "index",
"ref" : "name"
},
{
"id" : "t_cat_id_idx",
"type" : "index",
"ref" : "cat_id"
},
{
"id" : "t_os_id_idx",
"type" : "index",
"ref" : "os_id"
},
{
"id" : "t_ste_id_idx",
"type" : "index",
"ref" : "ste_id"
},
{
"id" : "t_auto_id_idx",
"type" : "index",
"ref" : "auto_status_id"
},
{
"id" : "t_man_id_idx",
"type" : "index",
"ref" : "man_status_id"
},
{
"id" : "t_data_status_id_idx",
"type" : "index",
"ref" : "data_status_id"
},
{
"id" : "t_fp_cat1_id_idx",
"type" : "index",
"ref" : "fp_cat1_status_id"
}
],
"triggers" : [
"DROP TRIGGER IF EXISTS `sagacity`.`target_BEFORE_INSERT`",
"CREATE DEFINER=`web`@`{host}` TRIGGER `sagacity`.`target_BEFORE_INSERT` BEFORE INSERT ON `target` FOR EACH ROW",
"BEGIN",
"SELECT MAX(`id`) INTO @newid",
"FROM `sagacity`.`target`;",
"SET NEW.`id` = COALESCE(@newid + 1, 1);",
"END"
]
},
{
"schema" : "sagacity",
"name" : "target_net_meta",
"primary_key" : [
"tgt_id"
],
"fields" : [
{
"name" : "tgt_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "netstat_connections",
"dataType" : "mediumtext",
"type" : 250,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "shares",
"dataType" : "mediumtext",
"type" : 250,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "routes",
"dataType" : "mediumtext",
"type" : 250,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "firewall_config",
"dataType" : "mediumtext",
"type" : 250,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
}
],
"constraints" : [
{
"id" : "tnm_tgt_id",
"local" : "tgt_id",
"schema" : "sagacity",
"table" : "target",
"field" : "id",
"update" : null,
"delete" : null
}
]
},
{
"schema" : "sagacity",
"name" : "target_user_meta",
"primary_key" : [
"tgt_id"
],
"fields" : [
{
"name" : "tgt_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "login",
"dataType" : "varchar(100)",
"type" : 253,
"length" : 100,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "user_list",
"dataType" : "mediumtext",
"type" : 250,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "last_login",
"dataType" : "varchar(255)",
"type" : 253,
"length" : 255,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "disabled_accts",
"dataType" : "mediumtext",
"type" : 250,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "stag_pwds",
"dataType" : "mediumtext",
"type" : 250,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "never_logged_in",
"dataType" : "mediumtext",
"type" : 250,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "pwd_never_expires",
"dataType" : "mediumtext",
"type" : 250,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
}
],
"constraints" : [
{
"id" : "tum_tgt_id",
"local" : "tgt_id",
"schema" : "sagacity",
"table" : "target",
"field" : "id",
"update" : null,
"delete" : null
}
]
},
{
"schema" : "sagacity",
"name" : "target_sys_meta",
"primary_key" : [
"tgt_id"
],
"fields" : [
{
"name" : "tgt_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "mounted",
"dataType" : "mediumtext",
"type" : 250,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "process_list",
"dataType" : "mediumtext",
"type" : 250,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "autorun",
"dataType" : "mediumtext",
"type" : 250,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "services",
"dataType" : "mediumtext",
"type" : 250,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "last_boot",
"dataType" : "datetime",
"type" : 12,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : ""
},
{
"name" : "remote_registry",
"dataType" : "mediumtext",
"type" : 250,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "copyrighted",
"dataType" : "mediumtext",
"type" : 250,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "is_vm",
"dataType" : "tinyint(1)",
"type" : 1,
"length" : 1,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : "0"
},
{
"name" : "system",
"dataType" : "mediumtext",
"type" : 250,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "bios",
"dataType" : "mediumtext",
"type" : 250,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "wmi_listening_pid",
"dataType" : "int(5)",
"type" : 3,
"length" : 5,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : "0"
}
],
"constraints" : [
{
"id" : "tsm_tgt_id",
"local" : "tgt_id",
"schema" : "sagacity",
"table" : "target",
"field" : "id",
"update" : null,
"delete" : null
}
]
},
{
"schema" : "sagacity",
"name" : "interfaces",
"primary_key" : [
"id"
],
"fields" : [
{
"name" : "id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : true,
"nn" : true,
"default" : ""
},
{
"name" : "tgt_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "name",
"dataType" : "varchar(100)",
"type" : 253,
"length" : 100,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "ipv4",
"dataType" : "varchar(150)",
"type" : 253,
"length" : 150,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "ipv6",
"dataType" : "varchar(400)",
"type" : 253,
"length" : 400,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "hostname",
"dataType" : "varchar(45)",
"type" : 253,
"length" : 45,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "mac",
"dataType" : "varchar(40)",
"type" : 253,
"length" : 40,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : ""
},
{
"name" : "fqdn",
"dataType" : "varchar(100)",
"type" : 253,
"length" : 100,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "description",
"dataType" : "varchar(255)",
"type" : 253,
"length" : 255,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "dns",
"dataType" : "varchar(60)",
"type" : 253,
"length" : 60,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
}
],
"constraints" : [
{
"id" : "int_tgt_id",
"local" : "tgt_id",
"schema" : "sagacity",
"table" : "target",
"field" : "id",
"update" : null,
"delete" : null
}
]
},
{
"schema" : "sagacity",
"name" : "target_checklist",
"primary_key" : [
"tgt_id",
"chk_id"
],
"fields" : [
{
"name" : "tgt_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "chk_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "class",
"dataType" : "enum",
"type" : 247,
"length" : null,
"values" : [
"U",
"FOUO",
"S",
"TS",
"SCI"
],
"ai" : false,
"nn" : false,
"default" : "U"
}
],
"constraints" : [
{
"id" : "chk_tgt_chk_id",
"local" : "chk_id",
"schema" : "sagacity",
"table" : "checklist",
"field" : "id",
"update" : null,
"delete" : null
},
{
"id" : "tgt_tgt_chk_id",
"local" : "tgt_id",
"schema" : "sagacity",
"table" : "target",
"field" : "id",
"update" : null,
"delete" : null
}
]
},
{
"schema" : "sagacity",
"name" : "target_software",
"primary_key" : [
"tgt_id",
"sft_id"
],
"fields" : [
{
"name" : "tgt_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "sft_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "sw_string",
"dataType" : "varchar(255)",
"type" : 253,
"length" : 255,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
}
],
"constraints" : [
{
"id" : "sft_tgt_sft_id",
"local" : "sft_id",
"schema" : "sagacity",
"table" : "software",
"field" : "id",
"update" : null,
"delete" : null
},
{
"id" : "tgt_tgt_sft_id",
"local" : "tgt_id",
"schema" : "sagacity",
"table" : "target",
"field" : "id",
"update" : null,
"delete" : null
}
]
},
{
"schema" : "sagacity",
"name" : "host_list",
"primary_key" : [
"scan_id",
"tgt_id"
],
"fields" : [
{
"name" : "scan_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "tgt_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "finding_count",
"dataType" : "int(5)",
"type" : 3,
"length" : 5,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : "0"
},
{
"name" : "scanner_error",
"dataType" : "tinyint(1)",
"type" : 1,
"length" : 1,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : "0"
},
{
"name" : "notes",
"dataType" : "text",
"type" : 252,
"length" : "",
"values" : [
],
"ai" : false,
"nn" : false,
"default" : ""
}
],
"constraints" : [
{
"id" : "host_scan_id",
"local" : "scan_id",
"schema" : "sagacity",
"table" : "scans",
"field" : "id",
"update" : null,
"delete" : null
},
{
"id" : "host_tgt_id",
"local" : "tgt_id",
"schema" : "sagacity",
"table" : "target",
"field" : "id",
"update" : null,
"delete" : null
}
]
},
{
"schema" : "sagacity",
"name" : "pps_list",
"primary_key" : [
"int_id",
"pps_id"
],
"fields" : [
{
"name" : "int_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "pps_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "name",
"dataType" : "varchar(255)",
"type" : 253,
"length" : 255,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "banner",
"dataType" : "text",
"type" : 252,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "notes",
"dataType" : "text",
"type" : 252,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "listening",
"dataType" : "tinyint(1)",
"type" : 1,
"length" : 1,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : "0"
}
],
"constraints" : [
{
"id" : "pps_int_id",
"local" : "int_id",
"schema" : "sagacity",
"table" : "interfaces",
"field" : "id",
"update" : null,
"delete" : null
},
{
"id" : "pps_pps_id",
"local" : "pps_id",
"schema" : "sagacity",
"table" : "ports_proto_services",
"field" : "id",
"update" : null,
"delete" : null
}
]
},
{
"schema" : "sagacity",
"name" : "findings",
"primary_key" : [
"id"
],
"fields" : [
{
"name" : "id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : true,
"nn" : true,
"default" : ""
},
{
"name" : "tgt_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "pdi_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "scan_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "findings_status_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "cat",
"dataType" : "int(1)",
"type" : 3,
"length" : 1,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "notes",
"dataType" : "text",
"type" : 252,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "change_id",
"dataType" : "tinyint(2)",
"type" : 1,
"length" : 2,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "orig_src",
"dataType" : "varchar(10)",
"type" : 253,
"length" : 10,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
},
{
"name" : "finding_itr",
"dataType" : "int(5)",
"type" : 3,
"length" : 5,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : "1"
}
],
"constraints" : [
{
"id" : "find_pdi_id",
"local" : "pdi_id",
"schema" : "sagacity",
"table" : "pdi_catalog",
"field" : "id",
"update" : null,
"delete" : null
},
{
"id" : "find_tgt_id",
"local" : "tgt_id",
"schema" : "sagacity",
"table" : "target",
"field" : "id",
"update" : null,
"delete" : null
},
{
"id" : "find_scan_id",
"local" : "scan_id",
"schema" : "sagacity",
"table" : "scans",
"field" : "id",
"update" : null,
"delete" : null
},
{
"id" : "find_status_id",
"local" : "findings_status_id",
"schema" : "sagacity",
"table" : "findings_status",
"field" : "id",
"update" : null,
"delete" : null
}
]
},
{
"schema" : "sagacity",
"name" : "finding_controls",
"primary_key" : [
"finding_id",
"ia_control"
],
"fields" : [
{
"name" : "finding_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "ia_control",
"dataType" : "varchar(20)",
"type" : 253,
"length" : 20,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
}
],
"constraints" : [
{
"id" : "find_ctrl_id",
"local" : "finding_id",
"schema" : "sagacity",
"table" : "findings",
"field" : "id",
"update" : null,
"delete" : null
}
]
},
{
"schema" : "sagacity",
"name" : "search_filters",
"primary_key" : [
"id"
],
"fields" : [
{
"name" : "id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : true,
"nn" : true,
"default" : ""
},
{
"name" : "name",
"dataType" : "varchar(45)",
"type" : 253,
"length" : 45,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "type",
"dataType" : "enum",
"type" : 247,
"length" : null,
"values" : [
"target",
"scan",
"finding",
"reference"
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "criteria",
"dataType" : "text",
"type" : 252,
"length" : null,
"values" : [
],
"ai" : false,
"nn" : false,
"default" : null
}
]
},
{
"schema" : "sagacity",
"name" : "cve_sw_lookup",
"primary_key" : [
"cve_id",
"sw_id"
],
"fields" : [
{
"name" : "cve_id",
"dataType" : "varchar(20)",
"type" : 253,
"length" : 20,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
},
{
"name" : "sw_id",
"dataType" : "int(11)",
"type" : 3,
"length" : 11,
"values" : [
],
"ai" : false,
"nn" : true,
"default" : ""
}
]
}
]
}