-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MB-13092: Add auditing support for tools
Change-Id: I29da85f1baaba390560c59e75fb124cc23704d22 Reviewed-on: http://review.couchbase.org/45302 Reviewed-by: Bin Cui <bin.cui@gmail.com> Tested-by: Bin Cui <bin.cui@gmail.com>
- Loading branch information
Showing
8 changed files
with
328 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,130 @@ | ||
{ | ||
"version" : 1, | ||
"module" : "tools", | ||
"events" : [ | ||
{ "id" : 12288, | ||
"name" : "backup start", | ||
"description" : "Start up a backup task", | ||
"sync" : false, | ||
"enabled" : true, | ||
"mandatory_fields" : { | ||
"timestamp" : "", | ||
"real_userid" : {"source" : "", "user" : ""}, | ||
"mode" : "" | ||
}, | ||
"optional_fields" : { | ||
"source_bucket" : "", | ||
"source_node" : "", | ||
} | ||
}, | ||
{ "id" : 12289, | ||
"name" : "backup stop", | ||
"description" : "Backup task stops", | ||
"sync" : false, | ||
"enabled" : true, | ||
"mandatory_fields" : { | ||
"timestamp" : "", | ||
"real_userid" : {"source" : "", "user" : ""}, | ||
"status" : "" | ||
}, | ||
"optional_fields" : { | ||
"source_bucket" : "", | ||
"source_node" : "", | ||
} | ||
}, | ||
{ "id" : 12290, | ||
"name" : "restore start", | ||
"description" : "Start up a restore task", | ||
"sync" : false, | ||
"enabled" : true, | ||
"mandatory_fields" : { | ||
"timestamp" : "", | ||
"real_userid" : {"source" : "", "user" : ""}, | ||
"mode" : "" | ||
}, | ||
"optional_fields" : { | ||
"source_bucket" : "", | ||
"source_node" : "", | ||
"target_bucket" : "", | ||
} | ||
}, | ||
{ "id" : 12291, | ||
"name" : "restore stop", | ||
"description" : "Restore task stops", | ||
"sync" : false, | ||
"enabled" : true, | ||
"mandatory_fields" : { | ||
"timestamp" : "", | ||
"real_userid" : {"source" : "", "user" : ""}, | ||
"status" : "" | ||
}, | ||
"optional_fields" : { | ||
"source_bucket" : "", | ||
"source_node" : "", | ||
"target_bucket" : "", | ||
} | ||
}, | ||
{ "id" : 12292, | ||
"name" : "recovery source start", | ||
"description" : "Start up a recovery source task", | ||
"sync" : false, | ||
"enabled" : true, | ||
"mandatory_fields" : { | ||
"timestamp" : "", | ||
"real_userid" : {"source" : "", "user" : ""}, | ||
"mode" : "" | ||
}, | ||
"optional_fields" : { | ||
"source_bucket" : "", | ||
"source_node" : "", | ||
} | ||
}, | ||
{ "id" : 12293, | ||
"name" : "recovery source stop", | ||
"description" : "Recovery source task stops", | ||
"sync" : false, | ||
"enabled" : true, | ||
"mandatory_fields" : { | ||
"timestamp" : "", | ||
"real_userid" : {"source" : "", "user" : ""}, | ||
"status" : "" | ||
}, | ||
"optional_fields" : { | ||
"source_bucket" : "", | ||
"source_node" : "", | ||
"target_bucket" : "", | ||
} | ||
}, | ||
{ "id" : 12294, | ||
"name" : "recovery sink start", | ||
"description" : "Start up a recovery sink task", | ||
"sync" : false, | ||
"enabled" : true, | ||
"mandatory_fields" : { | ||
"timestamp" : "", | ||
"real_userid" : {"source" : "", "user" : ""}, | ||
"mode" : "" | ||
}, | ||
"optional_fields" : { | ||
"source_bucket" : "", | ||
"source_node" : "", | ||
} | ||
}, | ||
{ "id" : 12295, | ||
"name" : "recovery sink stop", | ||
"description" : "Recovery task sink stops", | ||
"sync" : false, | ||
"enabled" : true, | ||
"mandatory_fields" : { | ||
"timestamp" : "", | ||
"real_userid" : {"source" : "", "user" : ""}, | ||
"status" : "" | ||
}, | ||
"optional_fields" : { | ||
"source_bucket" : "", | ||
"source_node" : "", | ||
"target_bucket" : "", | ||
} | ||
}, | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.