Skip to content

Commit

Permalink
Update plex-allowlist.yaml (#1151)
Browse files Browse the repository at this point in the history
* Update plex-allowlist.yaml
  • Loading branch information
f1lthyFerguson authored Nov 26, 2024
1 parent e85b01e commit 356f793
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions parsers/s02-enrich/crowdsecurity/plex-allowlist.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@ filter: "evt.Meta.service == 'http' && evt.Meta.log_type in ['http_access-log',
whitelist:
reason: "Plex Allowlist"
expression:
- evt.Meta.http_status == '200' && evt.Meta.http_verb == 'GET' && evt.Meta.http_path startsWith '/video/:/transcode/'
- evt.Meta.http_status in ['200', '404'] && evt.Meta.http_verb == 'GET' && evt.Meta.http_path startsWith '/video/:/transcode/'
- evt.Meta.http_status == '200' && evt.Meta.http_verb == 'GET' && evt.Meta.http_path startsWith '/photo/:/transcode/'
- evt.Meta.http_status == '200' && evt.Meta.http_verb == 'GET' && evt.Meta.http_path startsWith '/:/timeline'
- evt.Meta.http_status in ['200', '400'] && evt.Meta.http_verb == 'GET' && evt.Meta.http_path startsWith '/:/timeline'
- evt.Meta.http_status == '200' && evt.Meta.http_verb == 'GET' && evt.Meta.http_path matches '^/library/metadata/\\d+'
- evt.Meta.http_status == '200' && evt.Meta.http_verb == 'GET' && evt.Meta.http_path == '/status/sessions'
- evt.Meta.http_status == '200' && evt.Meta.http_verb == 'GET' && evt.Meta.http_path == '/status/sessions'
- evt.Meta.http_status == '404' && evt.Meta.http_verb == 'GET' && evt.Meta.http_path startsWith '/playQueues/'
- evt.Meta.http_status == '403' && evt.Meta.http_verb == 'POST' && evt.Parsed.request == '/log' && evt.Parsed.http_args contains 'X-Plex-Product=Plex%20Cast&X-Plex-Version='
- evt.Meta.http_status == '200' && evt.Meta.http_verb == 'GET' && evt.Meta.http_path startsWith '/music/:/transcode/universal/session/'

0 comments on commit 356f793

Please sign in to comment.