Skip to content

Instantly share code, notes, and snippets.

@ffalor
Created March 25, 2024 15:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ffalor/c897ff6fc7265674818e2e3cb4d94474 to your computer and use it in GitHub Desktop.
Save ffalor/c897ff6fc7265674818e2e3cb4d94474 to your computer and use it in GitHub Desktop.
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