turbot/tailpipe-mod-github-audit-log-detections

Query: repository_member_updated

Usage

powerpipe query github_audit_log_detections.query.repository_member_updated

Tailpipe Tables

SQL

select
tp_timestamp as timestamp,
action as operation,
concat('https://github.com/', user) as resource,
actor,
tp_source_ip as source_ip,
tp_index as organization,
split_part(repo, '/', 2) as repository,
tp_id as source_id,
*
exclude (actor, timestamp)
from
github_audit_log
where
action in ('repo.add_member', 'repo.remove_member')
order by
tp_timestamp desc;

Detections

The query is being used by the following detections: