Closed Ethan-Arrowood closed 6 years ago
Going to keep copying and pasting the AUDITING.md file contents here for discussion reference
This document defines how Platform Chaos audits chaos events. It lists what is tracked and how it is formatted.
When a chaos event is initiated or terminated through an API, CLI, or Extension, the following properties are recorded and exported through a JSON object.
id
unique to this event instantiation (guid
). chaos-type
of enumerable type initiate
user
and system
that terminated the eventdate
of event initiation (including time UTC
)resources
. This is broken down by subscriptionID
and then by resourceGroup
event
information (eventID
, eventName
, eventURL
)Additionally an Extension may record additional information regarding the specificities of the event. This information is stored within an extension
property.
Every chaos event type will be logged. The general structure of an event log is defined below:
id
(String) type
(String) 'initiate'
, 'terminate'
user
(String)system
(String | Object)date
(String)resource
(String)chaos resgen
and looks like so: "subId/resGrpId/resName"
event
(Object)chaos register
eventName
(String)eventURI
(String)extension
(Object)Here is an example template:
{
"id": "",
"chaos_type": "initiate",
"user": "",
"system": "",
"date": "",
"resource": "",
"event": {
"eventName": "",
"eventURI": ""
},
"extension": { ... }
}
How would I make this apart of the wiki? Is there a specific name you're looking for in regards to the directory
for this file?
@Ethan-Arrowood You can add a page to the wiki. I'd prefer wiki over directory - @allydurks thoughts?
This file has been made into a wiki page available here: https://github.com/Azure/platform-chaos/wiki/Auditing
Description
This PR will implement auditing for platform-chaos. The first reply will be a copy-paste from the first draft of
AUDITING.md
so we can begin discussing changes.Closes #18 and #22
Checklist for success