Skip to content

Commit

Permalink
Prep for 1 2 8 (#392)
Browse files Browse the repository at this point in the history
* Move test rules to internal repo

* Missing sublevel function

* Indent error in Yaml
  • Loading branch information
bseb authored Mar 23, 2022
1 parent c335a7d commit 9474ba9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 146 deletions.
3 changes: 3 additions & 0 deletions global_helpers/panther_greynoise_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,9 @@ def __init__(self, event):
self.riot = deep_get(event, "p_enrichment", "greynoise_riot_advanced")
self.sublevel = "advanced"

def subscription_level(self):
return self.sublevel

def ip_address(self, match_field) -> str:
return deep_get(self.riot, match_field, "provider", "ip")

Expand Down
56 changes: 0 additions & 56 deletions greynoise_test_rules/greynoise_noise_test.py

This file was deleted.

89 changes: 0 additions & 89 deletions greynoise_test_rules/greynoise_noise_test.yml

This file was deleted.

4 changes: 3 additions & 1 deletion okta_queries/okta_session_id_audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ AthenaQuery: >
WHERE p_occurs_since('7 days')
-- Uncomment the line below and replace 'sessionId' with the sessionId you are investigating
-- and authenticationContext:externalSessionId = 'sessionId'
SnowflakeQuery: >
ORDER BY event_time DESC
SnowflakeQuery: >
SELECT
p_event_time as event_time,
actor:alternateId as actor_email,
Expand All @@ -35,6 +36,7 @@ AthenaQuery: >
WHERE p_occurs_since('7 days')
-- Uncomment the line below and replace 'sessionId' with the sessionId you are investigating
-- and authenticationContext:externalSessionId = 'sessionId'
ORDER BY event_time DESC
Schedule:
RateMinutes: 43200
TimeoutMinutes: 1

0 comments on commit 9474ba9

Please sign in to comment.