From 2af318fffdea623167815b78c9870dafe15515dc Mon Sep 17 00:00:00 2001 From: Alex Resnick Date: Mon, 27 Jun 2022 23:50:04 +0000 Subject: [PATCH 1/2] #3350: Github bugs --- packages/github/changelog.yml | 5 + .../_dev/test/pipeline/test-audit-json.log | 3 +- .../test-audit-json.log-expected.json | 1098 ++++++++++------- .../audit/agent/stream/httpjson.yml.hbs | 1 + .../elasticsearch/ingest_pipeline/default.yml | 43 +- packages/github/manifest.yml | 2 +- 6 files changed, 678 insertions(+), 474 deletions(-) diff --git a/packages/github/changelog.yml b/packages/github/changelog.yml index e76d9707a0e..4183bb00664 100644 --- a/packages/github/changelog.yml +++ b/packages/github/changelog.yml @@ -1,4 +1,9 @@ # newer versions go on top +- version: "1.0.3" + changes: + - description: Add support for `@timestamp` and missing `created_at` fields + type: bugfix + link: https://github.com/elastic/integrations/pull/1 - version: "1.0.2" changes: - description: Add correct field mapping for event.created diff --git a/packages/github/data_stream/audit/_dev/test/pipeline/test-audit-json.log b/packages/github/data_stream/audit/_dev/test/pipeline/test-audit-json.log index 228e9b936f6..29a45b29fbe 100644 --- a/packages/github/data_stream/audit/_dev/test/pipeline/test-audit-json.log +++ b/packages/github/data_stream/audit/_dev/test/pipeline/test-audit-json.log @@ -183,4 +183,5 @@ {"actor":"github-actor","org":"Example-Org","repo":"Example-Org/repo-123-Java","created_at":1632437191581,"action":"pull_request.create","actor_location":{"country_code":"US"}} {"actor":"github-actor","org":"Example-Org","repo":"Example-Org/Java","created_at":1632146375501,"action":"protected_branch.policy_override","actor_location":{"country_code":"US"}} {"actor":"github-actor","org":"Example-Org","repo":"Example-Org/repo-123-Java","created_at":1632439409862,"action":"pull_request.ready_for_review","actor_location":{"country_code":"US"}} -{"actor":"github-actor","org":"Example-Org","created_at":1632712526255,"action":"org.audit_log_git_event_export","actor_location":{"country_code":"US"}} \ No newline at end of file +{"actor":"github-actor","org":"Example-Org","created_at":1632712526255,"action":"org.audit_log_git_event_export","actor_location":{"country_code":"US"}} +{"@timestamp":1655872622832,"action":"git.clone","actor":"github-actions[bot]","actor_location":{"country_code":"US"},"business":"redacted","org":"redacted","repo":"redacted/redacted","repository":"redacted/redacted","repository_public":false,"transport_protocol":1,"transport_protocol_name":"http","user":""} \ No newline at end of file diff --git a/packages/github/data_stream/audit/_dev/test/pipeline/test-audit-json.log-expected.json b/packages/github/data_stream/audit/_dev/test/pipeline/test-audit-json.log-expected.json index be3a74ad981..6afa9fd6871 100644 --- a/packages/github/data_stream/audit/_dev/test/pipeline/test-audit-json.log-expected.json +++ b/packages/github/data_stream/audit/_dev/test/pipeline/test-audit-json.log-expected.json @@ -8,13 +8,13 @@ "event": { "action": "organization_default_label.create", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"action\":\"organization_default_label.create\",\"created_at\":1583364251067}", "type": [ - "access" + "creation" ] }, "github": { @@ -41,13 +41,13 @@ "event": { "action": "organization_default_label.create", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"action\":\"organization_default_label.create\",\"created_at\":1583364251273}", "type": [ - "access" + "creation" ] }, "github": { @@ -74,13 +74,13 @@ "event": { "action": "organization_default_label.create", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"action\":\"organization_default_label.create\",\"created_at\":1583364251179}", "type": [ - "access" + "creation" ] }, "github": { @@ -112,13 +112,15 @@ "event": { "action": "org.invite_member", "category": [ + "configuration", "web", "iam" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"created_at\":1583364382722,\"action\":\"org.invite_member\",\"actor_location\":{\"country_code\":\"US\"},\"user\":\"github-user\"}", "type": [ - "access" + "group", + "user" ] }, "github": { @@ -155,13 +157,13 @@ "event": { "action": "organization_default_label.create", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"action\":\"organization_default_label.create\",\"created_at\":1583364251101}", "type": [ - "access" + "creation" ] }, "github": { @@ -188,13 +190,13 @@ "event": { "action": "organization_default_label.create", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"action\":\"organization_default_label.create\",\"created_at\":1583364251214}", "type": [ - "access" + "creation" ] }, "github": { @@ -221,13 +223,13 @@ "event": { "action": "organization_default_label.create", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"action\":\"organization_default_label.create\",\"created_at\":1583364251364}", "type": [ - "access" + "creation" ] }, "github": { @@ -259,13 +261,15 @@ "event": { "action": "org.invite_member", "category": [ + "configuration", "web", "iam" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"created_at\":1583364358888,\"action\":\"org.invite_member\",\"actor_location\":{\"country_code\":\"US\"},\"user\":\"github-user\"}", "type": [ - "access" + "group", + "user" ] }, "github": { @@ -302,13 +306,16 @@ "event": { "action": "org.add_member", "category": [ + "configuration", "web", "iam" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"created_at\":1583365350878,\"action\":\"org.add_member\",\"user\":\"github-user\"}", "type": [ - "access" + "group", + "user", + "creation" ] }, "github": { @@ -345,13 +352,13 @@ "event": { "action": "organization_default_label.create", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"action\":\"organization_default_label.create\",\"created_at\":1583364251144}", "type": [ - "access" + "creation" ] }, "github": { @@ -378,13 +385,13 @@ "event": { "action": "organization_default_label.create", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"action\":\"organization_default_label.create\",\"created_at\":1583364251325}", "type": [ - "access" + "creation" ] }, "github": { @@ -411,13 +418,16 @@ "event": { "action": "org.add_member", "category": [ + "configuration", "web", "iam" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"created_at\":1583376322166,\"action\":\"org.add_member\",\"user\":\"github-user\"}", "type": [ - "access" + "group", + "user", + "creation" ] }, "github": { @@ -459,13 +469,13 @@ "event": { "action": "repo.create", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-abc\",\"created_at\":1583763373109,\"action\":\"repo.create\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "creation" ] }, "github": { @@ -493,13 +503,13 @@ "event": { "action": "organization_default_label.create", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"action\":\"organization_default_label.create\",\"created_at\":1583364251399}", "type": [ - "access" + "creation" ] }, "github": { @@ -526,13 +536,16 @@ "event": { "action": "org.add_member", "category": [ + "configuration", "web", "iam" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"created_at\":1583364248566,\"action\":\"org.add_member\",\"user\":\"github-user\"}", "type": [ - "access" + "group", + "user", + "creation" ] }, "github": { @@ -574,13 +587,15 @@ "event": { "action": "org.oauth_app_access_approved", "category": [ + "configuration", "web", "iam" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"created_at\":1608939056939,\"action\":\"org.oauth_app_access_approved\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "group", + "user" ] }, "github": { @@ -615,13 +630,16 @@ "event": { "action": "team.create", "category": [ + "configuration", "web", "iam" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"data\":{\"team\":\"Example-Org/authors\"},\"org\":\"Example-Org\",\"created_at\":1611618092215,\"action\":\"team.create\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "group", + "user", + "creation" ] }, "github": { @@ -657,13 +675,16 @@ "event": { "action": "team.add_member", "category": [ + "configuration", "web", "iam" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"data\":{\"team\":\"Example-Org/authors\"},\"org\":\"Example-Org\",\"created_at\":1611618266125,\"action\":\"team.add_member\",\"actor_location\":{\"country_code\":\"US\"},\"user\":\"github-user\"}", "type": [ - "access" + "group", + "user", + "creation" ] }, "github": { @@ -706,13 +727,16 @@ "event": { "action": "team.add_member", "category": [ + "configuration", "web", "iam" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"data\":{\"team\":\"Example-Org/admins\"},\"org\":\"Example-Org\",\"created_at\":1611618409430,\"action\":\"team.add_member\",\"actor_location\":{\"country_code\":\"US\"},\"user\":\"github-user\"}", "type": [ - "access" + "group", + "user", + "creation" ] }, "github": { @@ -755,13 +779,15 @@ "event": { "action": "org.invite_member", "category": [ + "configuration", "web", "iam" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"created_at\":1611611818485,\"action\":\"org.invite_member\",\"actor_location\":{\"country_code\":\"US\"},\"user\":\"github-user\"}", "type": [ - "access" + "group", + "user" ] }, "github": { @@ -803,13 +829,13 @@ "event": { "action": "protected_branch.rejected_ref_update", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123\",\"created_at\":1611616633246,\"action\":\"protected_branch.rejected_ref_update\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -842,13 +868,16 @@ "event": { "action": "team.add_member", "category": [ + "configuration", "web", "iam" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"data\":{\"team\":\"Example-Org/authors\"},\"org\":\"Example-Org\",\"created_at\":1611618092307,\"action\":\"team.add_member\",\"actor_location\":{\"country_code\":\"US\"},\"user\":\"github-user\"}", "type": [ - "access" + "group", + "user", + "creation" ] }, "github": { @@ -891,13 +920,16 @@ "event": { "action": "team.add_member", "category": [ + "configuration", "web", "iam" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"data\":{\"team\":\"Example-Org/authors\"},\"org\":\"Example-Org\",\"created_at\":1611618294064,\"action\":\"team.add_member\",\"actor_location\":{\"country_code\":\"US\"},\"user\":\"github-user\"}", "type": [ - "access" + "group", + "user", + "creation" ] }, "github": { @@ -940,13 +972,16 @@ "event": { "action": "team.create", "category": [ + "configuration", "web", "iam" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"data\":{\"team\":\"Example-Org/admins\"},\"org\":\"Example-Org\",\"created_at\":1611618375474,\"action\":\"team.create\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "group", + "user", + "creation" ] }, "github": { @@ -982,13 +1017,15 @@ "event": { "action": "org.invite_member", "category": [ + "configuration", "web", "iam" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"created_at\":1611611772493,\"action\":\"org.invite_member\",\"actor_location\":{\"country_code\":\"US\"},\"user\":\"github-user\"}", "type": [ - "access" + "group", + "user" ] }, "github": { @@ -1030,13 +1067,13 @@ "event": { "action": "protected_branch.rejected_ref_update", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123\",\"created_at\":1611785570945,\"action\":\"protected_branch.rejected_ref_update\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -1069,13 +1106,16 @@ "event": { "action": "team.add_member", "category": [ + "configuration", "web", "iam" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"data\":{\"team\":\"Example-Org/authors\"},\"org\":\"Example-Org\",\"created_at\":1611618340739,\"action\":\"team.add_member\",\"actor_location\":{\"country_code\":\"US\"},\"user\":\"github-user\"}", "type": [ - "access" + "group", + "user", + "creation" ] }, "github": { @@ -1118,13 +1158,15 @@ "event": { "action": "org.invite_member", "category": [ + "configuration", "web", "iam" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"created_at\":1611611745448,\"action\":\"org.invite_member\",\"actor_location\":{\"country_code\":\"US\"},\"user\":\"github-user\"}", "type": [ - "access" + "group", + "user" ] }, "github": { @@ -1161,13 +1203,16 @@ "event": { "action": "org.add_member", "category": [ + "configuration", "web", "iam" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"created_at\":1611612144633,\"action\":\"org.add_member\",\"user\":\"github-user\"}", "type": [ - "access" + "group", + "user", + "creation" ] }, "github": { @@ -1209,13 +1254,13 @@ "event": { "action": "protected_branch.rejected_ref_update", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123\",\"created_at\":1611957750013,\"action\":\"protected_branch.rejected_ref_update\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -1248,13 +1293,16 @@ "event": { "action": "team.add_member", "category": [ + "configuration", "web", "iam" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"data\":{\"team\":\"Example-Org/authors\"},\"org\":\"Example-Org\",\"created_at\":1611618327075,\"action\":\"team.add_member\",\"actor_location\":{\"country_code\":\"US\"},\"user\":\"github-user\"}", "type": [ - "access" + "group", + "user", + "creation" ] }, "github": { @@ -1297,13 +1345,16 @@ "event": { "action": "team.add_repository", "category": [ + "configuration", "web", "iam" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"data\":{\"team\":\"Example-Org/authors\"},\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123\",\"created_at\":1611618183985,\"action\":\"team.add_repository\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "group", + "user", + "creation" ] }, "github": { @@ -1340,13 +1391,13 @@ "event": { "action": "protected_branch.rejected_ref_update", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123\",\"created_at\":1611957786812,\"action\":\"protected_branch.rejected_ref_update\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -1379,13 +1430,16 @@ "event": { "action": "team.add_member", "category": [ + "configuration", "web", "iam" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"data\":{\"team\":\"Example-Org/authors\"},\"org\":\"Example-Org\",\"created_at\":1611618312971,\"action\":\"team.add_member\",\"actor_location\":{\"country_code\":\"US\"},\"user\":\"github-user\"}", "type": [ - "access" + "group", + "user", + "creation" ] }, "github": { @@ -1423,13 +1477,13 @@ "event": { "action": "repo.actions_enabled", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123\",\"created_at\":1611623457848,\"action\":\"repo.actions_enabled\"}", "type": [ - "access" + "change" ] }, "github": { @@ -1462,13 +1516,13 @@ "event": { "action": "repository_vulnerability_alerts.disable", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123\",\"created_at\":1611615837289,\"action\":\"repository_vulnerability_alerts.disable\",\"actor_location\":{\"country_code\":\"US\"},\"user\":\"github-user\"}", "type": [ - "access" + "change" ] }, "github": { @@ -1500,13 +1554,16 @@ "event": { "action": "org.add_member", "category": [ + "configuration", "web", "iam" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"created_at\":1611611822014,\"action\":\"org.add_member\",\"user\":\"github-user\"}", "type": [ - "access" + "group", + "user", + "creation" ] }, "github": { @@ -1548,13 +1605,16 @@ "event": { "action": "team.add_repository", "category": [ + "configuration", "web", "iam" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"data\":{\"team\":\"Example-Org/admins\"},\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123\",\"created_at\":1611618487813,\"action\":\"team.add_repository\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "group", + "user", + "creation" ] }, "github": { @@ -1591,13 +1651,13 @@ "event": { "action": "protected_branch.rejected_ref_update", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123\",\"created_at\":1611616953278,\"action\":\"protected_branch.rejected_ref_update\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -1630,13 +1690,16 @@ "event": { "action": "team.add_member", "category": [ + "configuration", "web", "iam" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"data\":{\"team\":\"Example-Org/authors\"},\"org\":\"Example-Org\",\"created_at\":1611618280614,\"action\":\"team.add_member\",\"actor_location\":{\"country_code\":\"US\"},\"user\":\"github-user\"}", "type": [ - "access" + "group", + "user", + "creation" ] }, "github": { @@ -1679,13 +1742,13 @@ "event": { "action": "integration_installation.create", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"created_at\":1611672373575,\"action\":\"integration_installation.create\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "creation" ] }, "github": { @@ -1712,13 +1775,16 @@ "event": { "action": "org.add_member", "category": [ + "configuration", "web", "iam" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"created_at\":1611611856834,\"action\":\"org.add_member\",\"user\":\"github-user\"}", "type": [ - "access" + "group", + "user", + "creation" ] }, "github": { @@ -1760,13 +1826,13 @@ "event": { "action": "repo.create", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123\",\"created_at\":1611615837503,\"action\":\"repo.create\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "creation" ] }, "github": { @@ -1799,13 +1865,15 @@ "event": { "action": "org.invite_member", "category": [ + "configuration", "web", "iam" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"created_at\":1611611791641,\"action\":\"org.invite_member\",\"actor_location\":{\"country_code\":\"US\"},\"user\":\"github-user\"}", "type": [ - "access" + "group", + "user" ] }, "github": { @@ -1847,13 +1915,13 @@ "event": { "action": "protected_branch.create", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123\",\"created_at\":1611616583742,\"action\":\"protected_branch.create\",\"actor_location\":{\"country_code\":\"US\"},\"user\":\"github-user\"}", "type": [ - "access" + "creation" ] }, "github": { @@ -1890,13 +1958,16 @@ "event": { "action": "team.add_member", "category": [ + "configuration", "web", "iam" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"data\":{\"team\":\"Example-Org/admins\"},\"org\":\"Example-Org\",\"created_at\":1611618393091,\"action\":\"team.add_member\",\"actor_location\":{\"country_code\":\"US\"},\"user\":\"github-user\"}", "type": [ - "access" + "group", + "user", + "creation" ] }, "github": { @@ -1934,13 +2005,16 @@ "event": { "action": "org.add_member", "category": [ + "configuration", "web", "iam" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"created_at\":1611612013018,\"action\":\"org.add_member\",\"user\":\"github-user\"}", "type": [ - "access" + "group", + "user", + "creation" ] }, "github": { @@ -1982,13 +2056,16 @@ "event": { "action": "team.add_member", "category": [ + "configuration", "web", "iam" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"data\":{\"team\":\"Example-Org/admins\"},\"org\":\"Example-Org\",\"created_at\":1611618375570,\"action\":\"team.add_member\",\"actor_location\":{\"country_code\":\"US\"},\"user\":\"github-user\"}", "type": [ - "access" + "group", + "user", + "creation" ] }, "github": { @@ -2031,13 +2108,13 @@ "event": { "action": "repo.change_merge_setting", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123\",\"created_at\":1611633883211,\"action\":\"repo.change_merge_setting\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -2070,13 +2147,13 @@ "event": { "action": "protected_branch.rejected_ref_update", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123\",\"created_at\":1611785607543,\"action\":\"protected_branch.rejected_ref_update\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -2109,13 +2186,13 @@ "event": { "action": "protected_branch.rejected_ref_update", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123\",\"created_at\":1614195224710,\"action\":\"protected_branch.rejected_ref_update\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -2148,13 +2225,13 @@ "event": { "action": "workflows.delete_workflow_run", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"data\":{\"workflow_id\":5295458,\"head_branch\":\"Barrel-Racing-Path\",\"trigger_id\":6603009132,\"started_at\":\"2021-02-25T23:29:00.000Z\",\"event\":\"push\",\"head_sha\":\"c2b54496f96d8bd518d1b95b3f91e25d7e5a3068\",\"workflow_run_id\":601065160},\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123\",\"created_at\":1614296047285,\"action\":\"workflows.delete_workflow_run\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "deletion" ] }, "github": { @@ -2187,13 +2264,13 @@ "event": { "action": "protected_branch.rejected_ref_update", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123\",\"created_at\":1614195238102,\"action\":\"protected_branch.rejected_ref_update\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -2226,13 +2303,13 @@ "event": { "action": "protected_branch.rejected_ref_update", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123\",\"created_at\":1614195685549,\"action\":\"protected_branch.rejected_ref_update\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -2265,13 +2342,13 @@ "event": { "action": "protected_branch.rejected_ref_update", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123\",\"created_at\":1617161729305,\"action\":\"protected_branch.rejected_ref_update\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -2304,13 +2381,13 @@ "event": { "action": "protected_branch.rejected_ref_update", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123\",\"created_at\":1617161720150,\"action\":\"protected_branch.rejected_ref_update\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -2343,13 +2420,13 @@ "event": { "action": "protected_branch.rejected_ref_update", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123\",\"created_at\":1617161700105,\"action\":\"protected_branch.rejected_ref_update\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -2382,13 +2459,13 @@ "event": { "action": "protected_branch.rejected_ref_update", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123\",\"created_at\":1619473513093,\"action\":\"protected_branch.rejected_ref_update\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -2421,13 +2498,13 @@ "event": { "action": "repo.add_member", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-abc-123\",\"created_at\":1619733030434,\"action\":\"repo.add_member\",\"actor_location\":{\"country_code\":\"US\"},\"user\":\"github-user\"}", "type": [ - "access" + "creation" ] }, "github": { @@ -2464,13 +2541,13 @@ "event": { "action": "pull_request_review.submit", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"created_at\":1619474367775,\"action\":\"pull_request_review.submit\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -2501,13 +2578,13 @@ "event": { "action": "protected_branch.rejected_ref_update", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123\",\"created_at\":1617579395496,\"action\":\"protected_branch.rejected_ref_update\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -2540,13 +2617,13 @@ "event": { "action": "pull_request.merge", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"created_at\":1619474375960,\"action\":\"pull_request.merge\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -2577,13 +2654,13 @@ "event": { "action": "repo.transfer", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"data\":{\"old_user\":\"agrinmanriv0537\"},\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-abc-123\",\"created_at\":1619733030516,\"action\":\"repo.transfer\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -2621,13 +2698,13 @@ "event": { "action": "workflows.delete_workflow_run", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"data\":{\"workflow_id\":5295458,\"head_branch\":\"PIDTurret\",\"trigger_id\":6454857724,\"started_at\":\"2021-04-26T21:31:54.000Z\",\"event\":\"push\",\"head_sha\":\"5e66d4c16db382dd28f660240121248ca015c20f\",\"workflow_run_id\":787035990},\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123\",\"created_at\":1619472938032,\"action\":\"workflows.delete_workflow_run\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "deletion" ] }, "github": { @@ -2660,13 +2737,13 @@ "event": { "action": "protected_branch.rejected_ref_update", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123\",\"created_at\":1619472990084,\"action\":\"protected_branch.rejected_ref_update\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -2699,13 +2776,13 @@ "event": { "action": "pull_request.create", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"created_at\":1619733497686,\"action\":\"pull_request.create\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "creation" ] }, "github": { @@ -2736,13 +2813,13 @@ "event": { "action": "protected_branch.rejected_ref_update", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123\",\"created_at\":1617579430186,\"action\":\"protected_branch.rejected_ref_update\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -2775,13 +2852,16 @@ "event": { "action": "team.add_repository", "category": [ + "configuration", "web", "iam" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"data\":{\"team\":\"Example-Org/admins\"},\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-abc-123\",\"created_at\":1619733030216,\"action\":\"team.add_repository\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "group", + "user", + "creation" ] }, "github": { @@ -2818,13 +2898,13 @@ "event": { "action": "protected_branch.rejected_ref_update", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123\",\"created_at\":1617579367679,\"action\":\"protected_branch.rejected_ref_update\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -2857,13 +2937,13 @@ "event": { "action": "pull_request.create_review_request", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"created_at\":1619473421968,\"action\":\"pull_request.create_review_request\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "creation" ] }, "github": { @@ -2894,13 +2974,13 @@ "event": { "action": "pull_request.merge", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"action\":\"pull_request.merge\",\"created_at\":1619733612746,\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -2931,13 +3011,13 @@ "event": { "action": "protected_branch.rejected_ref_update", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123\",\"created_at\":1619473078873,\"action\":\"protected_branch.rejected_ref_update\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -2970,13 +3050,16 @@ "event": { "action": "team.add_repository", "category": [ + "configuration", "web", "iam" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"data\":{\"team\":\"Example-Org/authors\"},\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-abc-123\",\"created_at\":1619733030283,\"action\":\"team.add_repository\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "group", + "user", + "creation" ] }, "github": { @@ -3013,13 +3096,13 @@ "event": { "action": "pull_request.create", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"created_at\":1619472400915,\"action\":\"pull_request.create\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "creation" ] }, "github": { @@ -3050,13 +3133,13 @@ "event": { "action": "pull_request.create_review_request", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"action\":\"pull_request.create_review_request\",\"created_at\":1623197286783,\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "creation" ] }, "github": { @@ -3087,13 +3170,13 @@ "event": { "action": "pull_request.create_review_request", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"created_at\":1623284928961,\"action\":\"pull_request.create_review_request\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "creation" ] }, "github": { @@ -3124,13 +3207,13 @@ "event": { "action": "pull_request_review.submit", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"action\":\"pull_request_review.submit\",\"created_at\":1623197303036,\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -3161,13 +3244,13 @@ "event": { "action": "pull_request.merge", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"created_at\":1623709113238,\"action\":\"pull_request.merge\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -3198,13 +3281,13 @@ "event": { "action": "pull_request.create", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"created_at\":1623200606165,\"action\":\"pull_request.create\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "creation" ] }, "github": { @@ -3235,13 +3318,13 @@ "event": { "action": "pull_request.create", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"created_at\":1622852455604,\"action\":\"pull_request.create\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "creation" ] }, "github": { @@ -3272,13 +3355,13 @@ "event": { "action": "pull_request.create_review_request", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"created_at\":1622852615112,\"action\":\"pull_request.create_review_request\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "creation" ] }, "github": { @@ -3309,13 +3392,13 @@ "event": { "action": "pull_request_review.submit", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"action\":\"pull_request_review.submit\",\"created_at\":1623709107881,\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -3346,13 +3429,13 @@ "event": { "action": "pull_request.create_review_request", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"created_at\":1623284935234,\"action\":\"pull_request.create_review_request\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "creation" ] }, "github": { @@ -3383,13 +3466,13 @@ "event": { "action": "pull_request.create_review_request", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"created_at\":1623200615714,\"action\":\"pull_request.create_review_request\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "creation" ] }, "github": { @@ -3420,13 +3503,13 @@ "event": { "action": "pull_request_review.submit", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"action\":\"pull_request_review.submit\",\"created_at\":1623366866659,\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -3457,13 +3540,13 @@ "event": { "action": "pull_request_review.submit", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"action\":\"pull_request_review.submit\",\"created_at\":1623200629331,\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -3494,13 +3577,13 @@ "event": { "action": "pull_request.create_review_request", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"action\":\"pull_request.create_review_request\",\"created_at\":1623197274294,\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "creation" ] }, "github": { @@ -3531,13 +3614,13 @@ "event": { "action": "pull_request.merge", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"created_at\":1623200651042,\"action\":\"pull_request.merge\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -3568,13 +3651,13 @@ "event": { "action": "pull_request_review.submit", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"action\":\"pull_request_review.submit\",\"created_at\":1623197300963,\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -3605,13 +3688,13 @@ "event": { "action": "pull_request_review.submit", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"action\":\"pull_request_review.submit\",\"created_at\":1622852649552,\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -3642,13 +3725,13 @@ "event": { "action": "pull_request.merge", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"created_at\":1622852723876,\"action\":\"pull_request.merge\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -3679,13 +3762,13 @@ "event": { "action": "pull_request.create", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"created_at\":1623284903152,\"action\":\"pull_request.create\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "creation" ] }, "github": { @@ -3716,13 +3799,13 @@ "event": { "action": "pull_request.create", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"created_at\":1623197138430,\"action\":\"pull_request.create\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "creation" ] }, "github": { @@ -3753,13 +3836,13 @@ "event": { "action": "protected_branch.rejected_ref_update", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123\",\"created_at\":1623200513984,\"action\":\"protected_branch.rejected_ref_update\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -3792,13 +3875,13 @@ "event": { "action": "pull_request.merge", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"created_at\":1623366896448,\"action\":\"pull_request.merge\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -3829,13 +3912,13 @@ "event": { "action": "pull_request.create_review_request", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"created_at\":1623371009948,\"action\":\"pull_request.create_review_request\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "creation" ] }, "github": { @@ -3866,13 +3949,13 @@ "event": { "action": "pull_request.merge", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"action\":\"pull_request.merge\",\"created_at\":1623197309607,\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -3903,13 +3986,13 @@ "event": { "action": "pull_request.create", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"created_at\":1623371005977,\"action\":\"pull_request.create\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "creation" ] }, "github": { @@ -3940,13 +4023,13 @@ "event": { "action": "repo.change_merge_setting", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-5678\",\"created_at\":1625314262517,\"action\":\"repo.change_merge_setting\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -3979,13 +4062,13 @@ "event": { "action": "repo.create", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-5678\",\"created_at\":1625283218542,\"action\":\"repo.create\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "creation" ] }, "github": { @@ -4018,13 +4101,13 @@ "event": { "action": "repo.add_member", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-5678\",\"created_at\":1625283218373,\"action\":\"repo.add_member\",\"actor_location\":{\"country_code\":\"US\"},\"user\":\"github-user\"}", "type": [ - "access" + "creation" ] }, "github": { @@ -4056,13 +4139,13 @@ "event": { "action": "repo.update_default_branch", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-5678\",\"created_at\":1625283222495,\"action\":\"repo.update_default_branch\"}", "type": [ - "access" + "change" ] }, "github": { @@ -4095,13 +4178,16 @@ "event": { "action": "team.remove_member", "category": [ + "configuration", "web", "iam" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"data\":{\"team\":\"Example-Org/authors\"},\"org\":\"Example-Org\",\"created_at\":1629754452056,\"action\":\"team.remove_member\",\"actor_location\":{\"country_code\":\"US\"},\"user\":\"github-user\"}", "type": [ - "access" + "group", + "user", + "deletion" ] }, "github": { @@ -4144,13 +4230,16 @@ "event": { "action": "team.add_member", "category": [ + "configuration", "web", "iam" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"data\":{\"team\":\"Example-Org/admins\"},\"org\":\"Example-Org\",\"created_at\":1629754543604,\"action\":\"team.add_member\",\"actor_location\":{\"country_code\":\"US\"},\"user\":\"github-user\"}", "type": [ - "access" + "group", + "user", + "creation" ] }, "github": { @@ -4193,13 +4282,13 @@ "event": { "action": "repo.add_member", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-2021\",\"created_at\":1629769833205,\"action\":\"repo.add_member\",\"actor_location\":{\"country_code\":\"US\"},\"user\":\"github-user\"}", "type": [ - "access" + "creation" ] }, "github": { @@ -4236,13 +4325,16 @@ "event": { "action": "team.remove_member", "category": [ + "configuration", "web", "iam" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"data\":{\"team\":\"Example-Org/admins\"},\"org\":\"Example-Org\",\"created_at\":1629754473817,\"action\":\"team.remove_member\",\"actor_location\":{\"country_code\":\"US\"},\"user\":\"github-user\"}", "type": [ - "access" + "group", + "user", + "deletion" ] }, "github": { @@ -4285,13 +4377,13 @@ "event": { "action": "repo.create", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-2021\",\"created_at\":1629769833389,\"action\":\"repo.create\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "creation" ] }, "github": { @@ -4324,13 +4416,16 @@ "event": { "action": "team.remove_member", "category": [ + "configuration", "web", "iam" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"data\":{\"team\":\"Example-Org/admins\"},\"org\":\"Example-Org\",\"created_at\":1629754474042,\"action\":\"team.remove_member\",\"actor_location\":{\"country_code\":\"US\"},\"user\":\"github-user\"}", "type": [ - "access" + "group", + "user", + "deletion" ] }, "github": { @@ -4373,13 +4468,15 @@ "event": { "action": "team.update_repository_permission", "category": [ + "configuration", "web", "iam" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"data\":{\"team\":\"Example-Org/authors\"},\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-5678\",\"created_at\":1629767631761,\"action\":\"team.update_repository_permission\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "group", + "user" ] }, "github": { @@ -4416,13 +4513,16 @@ "event": { "action": "team.remove_member", "category": [ + "configuration", "web", "iam" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"data\":{\"team\":\"Example-Org/authors\"},\"org\":\"Example-Org\",\"created_at\":1629754429430,\"action\":\"team.remove_member\",\"actor_location\":{\"country_code\":\"US\"},\"user\":\"github-user\"}", "type": [ - "access" + "group", + "user", + "deletion" ] }, "github": { @@ -4465,13 +4565,16 @@ "event": { "action": "team.add_repository", "category": [ + "configuration", "web", "iam" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"data\":{\"team\":\"Example-Org/authors\"},\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-5678\",\"created_at\":1629767578993,\"action\":\"team.add_repository\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "group", + "user", + "creation" ] }, "github": { @@ -4508,13 +4611,13 @@ "event": { "action": "repo.destroy", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-2021\",\"created_at\":1629769916760,\"action\":\"repo.destroy\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -4547,13 +4650,16 @@ "event": { "action": "team.remove_member", "category": [ + "configuration", "web", "iam" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"data\":{\"team\":\"Example-Org/authors\"},\"org\":\"Example-Org\",\"created_at\":1629754452206,\"action\":\"team.remove_member\",\"actor_location\":{\"country_code\":\"US\"},\"user\":\"github-user\"}", "type": [ - "access" + "group", + "user", + "deletion" ] }, "github": { @@ -4596,13 +4702,13 @@ "event": { "action": "project.create", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123-Java\",\"created_at\":1631894812761,\"action\":\"project.create\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "creation" ] }, "github": { @@ -4630,13 +4736,13 @@ "event": { "action": "repo.actions_enabled", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/Java\",\"created_at\":1632146068095,\"action\":\"repo.actions_enabled\"}", "type": [ - "access" + "change" ] }, "github": { @@ -4669,13 +4775,13 @@ "event": { "action": "repo.change_merge_setting", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/Java\",\"created_at\":1632145649686,\"action\":\"repo.change_merge_setting\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -4708,13 +4814,13 @@ "event": { "action": "protected_branch.update_required_status_checks_enforcement_level", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/Java\",\"created_at\":1632155655619,\"action\":\"protected_branch.update_required_status_checks_enforcement_level\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -4747,13 +4853,13 @@ "event": { "action": "pull_request.merge", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123-Java\",\"created_at\":1631834277596,\"action\":\"pull_request.merge\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -4786,13 +4892,13 @@ "event": { "action": "repo.change_merge_setting", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/Java\",\"created_at\":1632146504145,\"action\":\"repo.change_merge_setting\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -4825,13 +4931,13 @@ "event": { "action": "pull_request.merge", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123-Java\",\"created_at\":1632440423281,\"action\":\"pull_request.merge\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -4864,13 +4970,13 @@ "event": { "action": "pull_request_review.submit", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"created_at\":1631573140006,\"action\":\"pull_request_review.submit\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -4901,13 +5007,13 @@ "event": { "action": "repo.change_merge_setting", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/Java\",\"created_at\":1632146510168,\"action\":\"repo.change_merge_setting\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -4940,13 +5046,13 @@ "event": { "action": "pull_request.merge", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123-Java\",\"created_at\":1631896079162,\"action\":\"pull_request.merge\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -4979,13 +5085,13 @@ "event": { "action": "pull_request.merge", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123-Java\",\"created_at\":1631834480813,\"action\":\"pull_request.merge\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -5018,13 +5124,16 @@ "event": { "action": "team.add_member", "category": [ + "configuration", "web", "iam" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"data\":{\"team\":\"Example-Org/contributors\"},\"org\":\"Example-Org\",\"created_at\":1631999351294,\"action\":\"team.add_member\",\"actor_location\":{\"country_code\":\"US\"},\"user\":\"github-user\"}", "type": [ - "access" + "group", + "user", + "creation" ] }, "github": { @@ -5067,13 +5176,13 @@ "event": { "action": "required_status_check.create", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123-Java\",\"created_at\":1631999445252,\"action\":\"required_status_check.create\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "creation" ] }, "github": { @@ -5106,13 +5215,13 @@ "event": { "action": "repo.change_merge_setting", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/Java\",\"created_at\":1632146504600,\"action\":\"repo.change_merge_setting\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -5145,13 +5254,13 @@ "event": { "action": "repo.change_merge_setting", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-5678\",\"created_at\":1630619331143,\"action\":\"repo.change_merge_setting\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -5184,13 +5293,13 @@ "event": { "action": "pull_request.create", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123-Java\",\"created_at\":1630693170285,\"action\":\"pull_request.create\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "creation" ] }, "github": { @@ -5223,13 +5332,13 @@ "event": { "action": "repo.change_merge_setting", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/Java\",\"created_at\":1632146504174,\"action\":\"repo.change_merge_setting\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -5262,13 +5371,13 @@ "event": { "action": "repo.change_merge_setting", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/Java\",\"created_at\":1632146507550,\"action\":\"repo.change_merge_setting\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -5301,13 +5410,13 @@ "event": { "action": "protected_branch.create", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123-Java\",\"created_at\":1631999445214,\"action\":\"protected_branch.create\",\"actor_location\":{\"country_code\":\"US\"},\"user\":\"github-user\"}", "type": [ - "access" + "creation" ] }, "github": { @@ -5344,13 +5453,13 @@ "event": { "action": "repo.change_merge_setting", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123-Java\",\"created_at\":1631999520468,\"action\":\"repo.change_merge_setting\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -5383,13 +5492,16 @@ "event": { "action": "team.add_repository", "category": [ + "configuration", "web", "iam" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"data\":{\"team\":\"Example-Org/authors\"},\"org\":\"Example-Org\",\"repo\":\"Example-Org/Java\",\"created_at\":1632146103741,\"action\":\"team.add_repository\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "group", + "user", + "creation" ] }, "github": { @@ -5426,13 +5538,16 @@ "event": { "action": "team.add_repository", "category": [ + "configuration", "web", "iam" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"data\":{\"team\":\"Example-Org/contributors\"},\"org\":\"Example-Org\",\"repo\":\"Example-Org/Java\",\"created_at\":1632146117823,\"action\":\"team.add_repository\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "group", + "user", + "creation" ] }, "github": { @@ -5469,13 +5584,13 @@ "event": { "action": "repo.create", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/Java\",\"created_at\":1632145650082,\"action\":\"repo.create\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "creation" ] }, "github": { @@ -5508,13 +5623,13 @@ "event": { "action": "protected_branch.update_linear_history_requirement_enforcement_level", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/Java\",\"created_at\":1632155655669,\"action\":\"protected_branch.update_linear_history_requirement_enforcement_level\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -5547,13 +5662,13 @@ "event": { "action": "pull_request.create", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123-Java\",\"created_at\":1632421196978,\"action\":\"pull_request.create\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "creation" ] }, "github": { @@ -5586,13 +5701,13 @@ "event": { "action": "repo.change_merge_setting", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-5678\",\"created_at\":1630619330775,\"action\":\"repo.change_merge_setting\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -5625,13 +5740,13 @@ "event": { "action": "pull_request.create", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123-Java\",\"created_at\":1631573111131,\"action\":\"pull_request.create\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "creation" ] }, "github": { @@ -5664,13 +5779,13 @@ "event": { "action": "pull_request.merge", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123-Java\",\"created_at\":1631575577913,\"action\":\"pull_request.merge\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -5698,13 +5813,13 @@ "event": { "action": "repo.actions_enabled", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123-Java\",\"created_at\":1631897960413,\"action\":\"repo.actions_enabled\"}", "type": [ - "access" + "change" ] }, "github": { @@ -5737,13 +5852,13 @@ "event": { "action": "pull_request.merge", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123-Java\",\"created_at\":1630693191818,\"action\":\"pull_request.merge\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -5776,13 +5891,13 @@ "event": { "action": "protected_branch.create", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/Java\",\"created_at\":1632146170407,\"action\":\"protected_branch.create\",\"actor_location\":{\"country_code\":\"US\"},\"user\":\"github-user\"}", "type": [ - "access" + "creation" ] }, "github": { @@ -5819,13 +5934,13 @@ "event": { "action": "repo.change_merge_setting", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/Java\",\"created_at\":1632146506531,\"action\":\"repo.change_merge_setting\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -5858,13 +5973,13 @@ "event": { "action": "required_status_check.create", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/Java\",\"created_at\":1632146549475,\"action\":\"required_status_check.create\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "creation" ] }, "github": { @@ -5897,13 +6012,13 @@ "event": { "action": "repo.rename", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123-Java\",\"created_at\":1630625448041,\"action\":\"repo.rename\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -5936,13 +6051,13 @@ "event": { "action": "pull_request.merge", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123-Java\",\"created_at\":1631310992353,\"action\":\"pull_request.merge\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -5975,13 +6090,13 @@ "event": { "action": "pull_request.merge", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123-Java\",\"created_at\":1631573290891,\"action\":\"pull_request.merge\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -6014,13 +6129,13 @@ "event": { "action": "protected_branch.update_admin_enforced", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/Java\",\"created_at\":1632155655683,\"action\":\"protected_branch.update_admin_enforced\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -6053,13 +6168,13 @@ "event": { "action": "pull_request.merge", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123-Java\",\"created_at\":1632421366852,\"action\":\"pull_request.merge\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -6092,13 +6207,13 @@ "event": { "action": "repo.access", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-5678\",\"created_at\":1630625423921,\"action\":\"repo.access\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -6131,13 +6246,13 @@ "event": { "action": "pull_request.merge", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123-Java\",\"created_at\":1631314271117,\"action\":\"pull_request.merge\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -6170,13 +6285,13 @@ "event": { "action": "pull_request.create", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123-Java\",\"created_at\":1631834442043,\"action\":\"pull_request.create\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "creation" ] }, "github": { @@ -6209,13 +6324,13 @@ "event": { "action": "pull_request.create", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123-Java\",\"created_at\":1631834270875,\"action\":\"pull_request.create\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "creation" ] }, "github": { @@ -6248,13 +6363,13 @@ "event": { "action": "pull_request.create", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123-Java\",\"created_at\":1632177923051,\"action\":\"pull_request.create\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "creation" ] }, "github": { @@ -6287,13 +6402,13 @@ "event": { "action": "protected_branch.update_linear_history_requirement_enforcement_level", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123-Java\",\"created_at\":1631999556056,\"action\":\"protected_branch.update_linear_history_requirement_enforcement_level\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -6326,13 +6441,13 @@ "event": { "action": "protected_branch.update_required_status_checks_enforcement_level", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123-Java\",\"created_at\":1632155595828,\"action\":\"protected_branch.update_required_status_checks_enforcement_level\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -6365,13 +6480,13 @@ "event": { "action": "pull_request.merge", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123-Java\",\"created_at\":1632181439344,\"action\":\"pull_request.merge\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -6404,13 +6519,13 @@ "event": { "action": "project.create", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123-Java\",\"created_at\":1631317044168,\"action\":\"project.create\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "creation" ] }, "github": { @@ -6443,13 +6558,15 @@ "event": { "action": "org.audit_log_export", "category": [ + "configuration", "web", "iam" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"created_at\":1631999791816,\"action\":\"org.audit_log_export\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "group", + "user" ] }, "github": { @@ -6484,13 +6601,16 @@ "event": { "action": "team.add_member", "category": [ + "configuration", "web", "iam" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"data\":{\"team\":\"Example-Org/admins\"},\"org\":\"Example-Org\",\"created_at\":1632173981540,\"action\":\"team.add_member\",\"actor_location\":{\"country_code\":\"US\"},\"user\":\"github-user\"}", "type": [ - "access" + "group", + "user", + "creation" ] }, "github": { @@ -6533,13 +6653,13 @@ "event": { "action": "pull_request.merge", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123-Java\",\"created_at\":1632178684304,\"action\":\"pull_request.merge\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -6572,13 +6692,13 @@ "event": { "action": "protected_branch.update_linear_history_requirement_enforcement_level", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123-Java\",\"created_at\":1632155595845,\"action\":\"protected_branch.update_linear_history_requirement_enforcement_level\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -6611,13 +6731,13 @@ "event": { "action": "pull_request.merge", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123-Java\",\"created_at\":1632155621270,\"action\":\"pull_request.merge\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -6650,13 +6770,13 @@ "event": { "action": "pull_request.create", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123-Java\",\"created_at\":1632181178974,\"action\":\"pull_request.create\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "creation" ] }, "github": { @@ -6689,13 +6809,13 @@ "event": { "action": "repo.change_merge_setting", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/Java\",\"created_at\":1632146504576,\"action\":\"repo.change_merge_setting\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -6728,13 +6848,13 @@ "event": { "action": "pull_request.create", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123-Java\",\"created_at\":1631310927600,\"action\":\"pull_request.create\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "creation" ] }, "github": { @@ -6767,13 +6887,13 @@ "event": { "action": "pull_request_review_comment.create", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"created_at\":1631573139911,\"action\":\"pull_request_review_comment.create\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "creation" ] }, "github": { @@ -6804,13 +6924,13 @@ "event": { "action": "repository_vulnerability_alerts.disable", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/Java\",\"created_at\":1632145649767,\"action\":\"repository_vulnerability_alerts.disable\",\"actor_location\":{\"country_code\":\"US\"},\"user\":\"github-user\"}", "type": [ - "access" + "change" ] }, "github": { @@ -6847,13 +6967,16 @@ "event": { "action": "team.add_repository", "category": [ + "configuration", "web", "iam" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"data\":{\"team\":\"Example-Org/admins\"},\"org\":\"Example-Org\",\"repo\":\"Example-Org/Java\",\"created_at\":1632146087112,\"action\":\"team.add_repository\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "group", + "user", + "creation" ] }, "github": { @@ -6890,13 +7013,13 @@ "event": { "action": "pull_request.create", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123-Java\",\"created_at\":1631896070699,\"action\":\"pull_request.create\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "creation" ] }, "github": { @@ -6929,13 +7052,13 @@ "event": { "action": "pull_request.create", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123-Java\",\"created_at\":1631898264113,\"action\":\"pull_request.create\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "creation" ] }, "github": { @@ -6968,13 +7091,16 @@ "event": { "action": "team.create", "category": [ + "configuration", "web", "iam" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"data\":{\"team\":\"Example-Org/contributors\"},\"org\":\"Example-Org\",\"created_at\":1631999351150,\"action\":\"team.create\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "group", + "user", + "creation" ] }, "github": { @@ -7010,13 +7136,16 @@ "event": { "action": "team.add_repository", "category": [ + "configuration", "web", "iam" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"data\":{\"team\":\"Example-Org/admins\"},\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-5678\",\"created_at\":1630619298089,\"action\":\"team.add_repository\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "group", + "user", + "creation" ] }, "github": { @@ -7053,13 +7182,13 @@ "event": { "action": "pull_request.create", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123-Java\",\"created_at\":1631314239837,\"action\":\"pull_request.create\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "creation" ] }, "github": { @@ -7092,13 +7221,13 @@ "event": { "action": "pull_request.create", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123-Java\",\"created_at\":1631575217017,\"action\":\"pull_request.create\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "creation" ] }, "github": { @@ -7131,13 +7260,13 @@ "event": { "action": "repo.change_merge_setting", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123-Java\",\"created_at\":1631999520452,\"action\":\"repo.change_merge_setting\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -7170,13 +7299,13 @@ "event": { "action": "protected_branch.update_pull_request_reviews_enforcement_level", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/Java\",\"created_at\":1632155655636,\"action\":\"protected_branch.update_pull_request_reviews_enforcement_level\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -7209,13 +7338,13 @@ "event": { "action": "protected_branch.update_admin_enforced", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123-Java\",\"created_at\":1632155595860,\"action\":\"protected_branch.update_admin_enforced\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -7248,13 +7377,13 @@ "event": { "action": "repo.change_merge_setting", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/Java\",\"created_at\":1632146507567,\"action\":\"repo.change_merge_setting\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -7287,13 +7416,13 @@ "event": { "action": "repo.change_merge_setting", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/Java\",\"created_at\":1632146506554,\"action\":\"repo.change_merge_setting\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -7326,13 +7455,13 @@ "event": { "action": "pull_request.create", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123-Java\",\"created_at\":1632437191581,\"action\":\"pull_request.create\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "creation" ] }, "github": { @@ -7365,13 +7494,13 @@ "event": { "action": "protected_branch.policy_override", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/Java\",\"created_at\":1632146375501,\"action\":\"protected_branch.policy_override\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -7404,13 +7533,13 @@ "event": { "action": "pull_request.ready_for_review", "category": [ - "web", - "iam" + "configuration", + "web" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"repo\":\"Example-Org/repo-123-Java\",\"created_at\":1632439409862,\"action\":\"pull_request.ready_for_review\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "change" ] }, "github": { @@ -7443,13 +7572,15 @@ "event": { "action": "org.audit_log_git_event_export", "category": [ + "configuration", "web", "iam" ], "kind": "event", "original": "{\"actor\":\"github-actor\",\"org\":\"Example-Org\",\"created_at\":1632712526255,\"action\":\"org.audit_log_git_event_export\",\"actor_location\":{\"country_code\":\"US\"}}", "type": [ - "access" + "group", + "user" ] }, "github": { @@ -7470,6 +7601,45 @@ "user": { "name": "github-actor" } + }, + { + "@timestamp": "2022-06-22T04:37:02.832Z", + "client": { + "geo": { + "country_iso_code": "US" + } + }, + "ecs": { + "version": "8.2.0" + }, + "event": { + "action": "git.clone", + "category": [ + "configuration", + "web" + ], + "kind": "event", + "original": "{\"@timestamp\":1655872622832,\"action\":\"git.clone\",\"actor\":\"github-actions[bot]\",\"actor_location\":{\"country_code\":\"US\"},\"business\":\"redacted\",\"org\":\"redacted\",\"repo\":\"redacted/redacted\",\"repository\":\"redacted/redacted\",\"repository_public\":false,\"transport_protocol\":1,\"transport_protocol_name\":\"http\",\"user\":\"\"}", + "type": [ + "change" + ] + }, + "github": { + "category": "git", + "org": "redacted", + "repo": "redacted/redacted" + }, + "related": { + "user": [ + "github-actions[bot]" + ] + }, + "tags": [ + "preserve_original_event" + ], + "user": { + "name": "github-actions[bot]" + } } ] } \ No newline at end of file diff --git a/packages/github/data_stream/audit/agent/stream/httpjson.yml.hbs b/packages/github/data_stream/audit/agent/stream/httpjson.yml.hbs index 9dbed92e604..13aed42872a 100644 --- a/packages/github/data_stream/audit/agent/stream/httpjson.yml.hbs +++ b/packages/github/data_stream/audit/agent/stream/httpjson.yml.hbs @@ -47,6 +47,7 @@ response.pagination: cursor: last_timestamp: value: '[[ .last_event.created_at ]]' + fail_on_template_error: true {{#if tags.length}} tags: diff --git a/packages/github/data_stream/audit/elasticsearch/ingest_pipeline/default.yml b/packages/github/data_stream/audit/elasticsearch/ingest_pipeline/default.yml index c75e40eef0f..2f8c1ad129f 100644 --- a/packages/github/data_stream/audit/elasticsearch/ingest_pipeline/default.yml +++ b/packages/github/data_stream/audit/elasticsearch/ingest_pipeline/default.yml @@ -7,15 +7,11 @@ processors: - set: field: ecs.version value: "8.2.0" -- append: - field: event.type - value: access -- append: - field: event.category - value: web - append: field: event.category - value: iam + value: + - configuration + - web - rename: field: message target_field: event.original @@ -34,6 +30,14 @@ processors: - UNIX_MS timezone: UTC target_field: "@timestamp" + if: ctx.json?.created_at != null +- date: + field: json.@timestamp + formats: + - UNIX_MS + timezone: UTC + target_field: "@timestamp" + if: ctx.json['@timestamp'] != null - rename: field: json._document_id target_field: event.id @@ -112,12 +116,35 @@ processors: field: event.action ignore_missing: true patterns: - - '^%{GH_CAT:github.category}\.%{GREEDYDATA}' + - '^%{GH_CAT:github.category}\.%{GREEDYDATA:_temp.action}' pattern_definitions: GH_CAT: '[a-z_]+' +- append: + field: event.category + value: iam + if: '["team","org"].contains(ctx.github.category)' +- append: + field: event.type + value: + - group + - user + if: '["team","org"].contains(ctx.github.category)' +- append: + field: event.type + value: creation + if: 'ctx._temp?.action.contains("create") || ctx._temp?.action.contains("add")' +- append: + field: event.type + value: deletion + if: 'ctx._temp?.action.contains("delete") || ctx._temp?.action.contains("remove")' +- append: + field: event.type + value: change + if: 'ctx.event?.type == null || ctx.event?.type.size() == 0' - remove: field: - json + - _temp ignore_missing: true - remove: field: event.original diff --git a/packages/github/manifest.yml b/packages/github/manifest.yml index 027b7e2a3be..c414deb6b1f 100644 --- a/packages/github/manifest.yml +++ b/packages/github/manifest.yml @@ -1,6 +1,6 @@ name: github title: GitHub -version: 1.0.2 +version: 1.0.3 release: ga description: Collect events from GitHub with Elastic Agent. type: integration From 23e6f88ebc1ce35e90e36de7e97316dba6adcf2a Mon Sep 17 00:00:00 2001 From: Alex Resnick Date: Mon, 27 Jun 2022 23:51:34 +0000 Subject: [PATCH 2/2] add changelgog --- packages/github/changelog.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/github/changelog.yml b/packages/github/changelog.yml index 4183bb00664..ef54ecafe4a 100644 --- a/packages/github/changelog.yml +++ b/packages/github/changelog.yml @@ -3,7 +3,7 @@ changes: - description: Add support for `@timestamp` and missing `created_at` fields type: bugfix - link: https://github.com/elastic/integrations/pull/1 + link: https://github.com/elastic/integrations/pull/3607 - version: "1.0.2" changes: - description: Add correct field mapping for event.created