// ===== file_event_lnx_puppet_ca_signed_cert.yml (sentinel_asim)
imFileEvent
| where TargetFileName startswith "/etc/puppetlabs/puppetserver/ca/signed/" and TargetFileName endswith ".pem"
// ===== file_event_lnx_puppet_code_change_by_jvm.yml (sentinel_asim)
imFileEvent
| where TargetFilePath endswith "/java" and (TargetFileName startswith "/etc/puppetlabs/code/" or TargetFileName startswith "/etc/puppetlabs/puppet/" or TargetFileName startswith "/etc/puppetlabs/puppetserver/conf.d/")
// ===== file_event_lnx_puppetserver_jvm_cron_write.yml (sentinel_asim)
imFileEvent
| where TargetFilePath endswith "/java" and (TargetFileName startswith "/var/spool/cron/" or TargetFileName startswith "/etc/cron.d/" or TargetFileName startswith "/etc/cron.hourly/" or TargetFileName startswith "/etc/cron.daily/" or TargetFileName startswith "/etc/crontab")
// ===== proc_creation_lnx_puppet_service_user_crontab.yml (sentinel_asim)
imProcessCreate
| where (TargetUsername in~ ("puppet", "pe-puppet")) and TargetProcessName endswith "/crontab"
// ===== proc_creation_lnx_puppetserver_jvm_child_shell.yml (sentinel_asim)
imProcessCreate
| where ((ParentProcessName endswith "/java" or ActingProcessName endswith "/java") and (ActingProcessCommandLine contains "puppet-server-release.jar" or ActingProcessCommandLine contains "puppetserver")) and (TargetProcessName endswith "/sh" or TargetProcessName endswith "/bash" or TargetProcessName endswith "/dash" or TargetProcessName endswith "/zsh" or TargetProcessName endswith "/curl" or TargetProcessName endswith "/wget")
// ===== proxy_puppet_report_put.yml (sentinel_asim)
imWebSession
| where HttpRequestMethod =~ "PUT" and Url contains "/puppet/v3/report/"
