Created
March 25, 2024 15:44
-
-
Save ffalor/c897ff6fc7265674818e2e3cb4d94474 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type osResource struct { | |
Bucket string | |
Object string | |
Generation int64 | |
} | |
type Policy struct { | |
Cid string | |
LinuxInstallParams string | |
WindowsInstallParams string | |
Sles11 osResource | |
Sles12 osResource | |
Sles15 osResource | |
Rhel6 osResource | |
Rhel7 osResource | |
Rhel8 osResource | |
Rhel9 osResource | |
Debian osResource | |
Ubuntu osResource | |
Centos6 osResource | |
Centos7 osResource | |
Centos8 osResource | |
Windows osResource | |
} | |
targetSensors := []sensor.Sensor{ | |
{ | |
Filter: "os:'*RHEL*'+os_version:'6'+platform:'linux'", | |
OsShortName: "rhel", | |
OsVersion: "6*", | |
BucketPrefix: fmt.Sprintf("crowdstrike/falcon/%s/linux/rhel/6", ac.Cloud.String()), | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment