{"id":38011146,"url":"https://github.com/corelight/terraform-aws-sensor","last_synced_at":"2026-01-16T19:20:35.005Z","repository":{"id":242592123,"uuid":"794645999","full_name":"corelight/terraform-aws-sensor","owner":"corelight","description":"Terraform for Corelight's AWS Cloud Sensor Deployment.","archived":false,"fork":false,"pushed_at":"2025-12-19T16:05:00.000Z","size":939,"stargazers_count":2,"open_issues_count":3,"forks_count":4,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-12-22T06:43:18.097Z","etag":null,"topics":["aws","cloud","sensor","terraform","zeek"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/corelight.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"security_groups.tf","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-05-01T16:51:21.000Z","updated_at":"2025-12-19T16:05:05.000Z","dependencies_parsed_at":"2025-10-16T11:44:54.373Z","dependency_job_id":"db016785-80cf-4ef2-a87d-6a4e4dba8335","html_url":"https://github.com/corelight/terraform-aws-sensor","commit_stats":null,"previous_names":["corelight/terraform-aws-sensor"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/corelight/terraform-aws-sensor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corelight%2Fterraform-aws-sensor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corelight%2Fterraform-aws-sensor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corelight%2Fterraform-aws-sensor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corelight%2Fterraform-aws-sensor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/corelight","download_url":"https://codeload.github.com/corelight/terraform-aws-sensor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corelight%2Fterraform-aws-sensor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28481675,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","cloud","sensor","terraform","zeek"],"created_at":"2026-01-16T19:20:34.902Z","updated_at":"2026-01-16T19:20:34.972Z","avatar_url":"https://github.com/corelight.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# terraform-aws-sensor\n\nTerraform for Corelight's AWS Cloud Sensor Deployment.\n\n\u003cimg src=\"docs/overview.png\" alt=\"overview\"\u003e\n\n## Usage\n```terraform\n\ndata \"aws_subnet\" \"management\" {\n  for_each = toset([\"\u003cmanagement subnet id 1\u003e\", \"\u003cmanagement subnet id 2\u003e\"])\n  id       = each.value\n}\n\nmodule \"asg_lambda_role\" {\n  source = \"github.com/corelight/terraform-aws-sensor//modules/iam/lambda\"\n\n  lambda_cloudwatch_log_group_arn = module.sensor.cloudwatch_log_group_arn\n  sensor_autoscaling_group_arn    = module.sensor.autoscaling_group_arn\n  security_group_arn              = module.sensor.management_security_group_arn\n  subnet_arns                     = [for subnet in data.aws_subnet.management : subnet.arn]\n}\n\nmodule \"sensor\" {\n  source = \"github.com/corelight/terraform-aws-sensor\"\n\n  # Multi-AZ support: provide one subnet per availability zone\n  # The ASG will automatically distribute instances across AZs\n  availability_zones = [\"us-east-1a\", \"us-east-1b\"]\n  aws_key_pair_name = \"\u003ckey pair name\u003e\"\n\n  # Request access to Corelight sensor AMI from you Account Executive\n  corelight_sensor_ami_id = \"\u003csensor AMI ID\u003e\"\n  license_key = \"\u003cyour Corelight sensor license key\u003e\"\n\n  # Provide one management subnet per AZ (must match availability_zones order)\n  management_subnet_ids = [\"\u003cmanagement subnet in us-east-1a\u003e\", \"\u003cmanagement subnet in us-east-1b\u003e\"]\n\n  # Provide one monitoring subnet per AZ (must match availability_zones order)\n  monitoring_subnet_ids = [\"\u003cmonitoring subnet in us-east-1a\u003e\", \"\u003cmonitoring subnet in us-east-1b\u003e\"]\n\n  community_string = \"\u003cpassword for the sensor api\u003e\"\n  vpc_id = \"\u003cvpc where the sensor autoscaling group is deployed\u003e\"\n  asg_lambda_iam_role_arn = module.asg_lambda_role.role_arn\n\n  fleet_token = \"\u003cthe pairing token from the Fleet UI\u003e\"\n  fleet_url   = \"\u003cthe URL of the fleet instance from the Fleet UI\u003e\"\n  fleet_server_sslname = \"\u003cthe ssl name provided by Fleet\u003e\"\n\n  # optional KMS key, if set will encrpyt the EBS volumes launched by the auto scaler group\n  kms_key_id  = \"\u003cthe ID of the KMS key used to encrypt the EBS volumes\u003e\"\n}\n\n\n### Optional resources for enrichment\nmodule \"enrichment_sensor_role\" {\n  source = \"github.com/corelight/terraform-aws-enrichment//modules/iam/sensor\"\n  enrichment_bucket_arn = data.aws_s3_bucket.enrichment_bucket.arn\n}\n\nresource \"aws_iam_instance_profile\" \"corelight_sensor\" {\n  name = \"\u003cname of the instance profile\u003e\"\n  role = module.enrichment_sensor_role.sensor_role_name\n}\n```\n\n### Deployment\n\nThe variables for this module all have default values that can be overwritten\nto meet your naming and compliance standards.\n\nDeployment examples can be found [here][].\n\n[here]: https://github.com/corelight/corelight-cloud/tree/main/terraform/aws-autoscaling-sensor\n\n## License\n\nThe project is licensed under the [MIT][] license.\n\n[MIT]: LICENSE\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorelight%2Fterraform-aws-sensor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcorelight%2Fterraform-aws-sensor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorelight%2Fterraform-aws-sensor/lists"}