Skip to content

Commit

Permalink
bug around groups getting created
Browse files Browse the repository at this point in the history
  • Loading branch information
david committed Jun 27, 2019
1 parent 389a099 commit 1de83a3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@
[submodule "plugins/ssl"]
path = plugins/ssl
url = https://github.com/mitre/ssl.git
[submodule "plugins/dark"]
path = plugins/dark
url = https://gitlab.mitre.org/caldera/dark.git
2 changes: 1 addition & 1 deletion conf/core.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
CREATE TABLE if not exists core_result (link_id integer, output text, parsed data);
CREATE TABLE if not exists core_ability (id integer primary key AUTOINCREMENT, ability_id text, technique integer, name text, test text, description text, cleanup text, platform, UNIQUE (ability_id, platform) ON CONFLICT IGNORE);
CREATE TABLE if not exists core_payload (id integer primary key AUTOINCREMENT, ability integer, payload text, UNIQUE (ability, payload) ON CONFLICT IGNORE);
CREATE TABLE if not exists core_group (id integer primary key AUTOINCREMENT, name text, deactivated date, UNIQUE(name, deactivated));
CREATE TABLE if not exists core_group (id integer primary key AUTOINCREMENT, name text, deactivated date, UNIQUE(name));
CREATE TABLE if not exists core_group_map (group_id integer, agent_id integer, UNIQUE(group_id, agent_id));
CREATE TABLE if not exists core_adversary (id integer primary key AUTOINCREMENT, name text, description text, UNIQUE (name));
CREATE TABLE if not exists core_adversary_map (phase integer, adversary_id integer, ability_id text, UNIQUE (adversary_id, phase, ability_id));
Expand Down
1 change: 1 addition & 0 deletions plugins/dark
Submodule dark added at b5194f

0 comments on commit 1de83a3

Please sign in to comment.