steampipe plugin install francois2metz/gitguardian

Table: gitguardian_audit_log

Returns the audit log.

Examples

List events

select
id,
date,
event_name,
action_type
from
gitguardian_audit_log
order by
date;

List delete events

select
id,
date,
event_name,
action_type
from
gitguardian_audit_log
where
action_type = 'DELETE';

List actions from a user

select
id,
date,
event_name,
action_type
from
gitguardian_audit_log
where
member_email = 'test@example.net';

Schema for gitguardian_audit_log

NameTypeOperatorsDescription
_ctxjsonbSteampipe context in JSON form, e.g. connection_name.
action_typetextType of the action: READ, CREATE, UPDATE, DELETE, OTHER.
api_token_idbigintID of the API token associated to the event if it was done through the API.
datajsonbAdditional data associated to the event.
datetimestamp with time zone>, >=, =, <, <=Date the event occurred.
event_nametext=The name of the event.
idbigintUnique identifier of the log.
ip_addressinetThe ip address.
member_emailtext=Email of the member at the time he/she did the event.
member_idbigint=ID of the member that did the event. Can be null if the member has been deleted since then.
member_nametext=Name of the member at the time he/she did the event.