https://github.com/co-cddo/gc3-vuln-reporting-iac
Government Cyber Coordination Centre - Vulnerability Reporting Service - Infrastructure as Code
https://github.com/co-cddo/gc3-vuln-reporting-iac
aws cyber-security security-researchers securitytxt terraform ukgovernmentsecurity vulnerability-reports
Last synced: 6 months ago
JSON representation
Government Cyber Coordination Centre - Vulnerability Reporting Service - Infrastructure as Code
- Host: GitHub
- URL: https://github.com/co-cddo/gc3-vuln-reporting-iac
- Owner: co-cddo
- License: mit
- Created: 2022-03-10T17:37:20.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-10-23T16:27:35.000Z (9 months ago)
- Last Synced: 2025-10-23T18:26:04.330Z (9 months ago)
- Topics: aws, cyber-security, security-researchers, securitytxt, terraform, ukgovernmentsecurity, vulnerability-reports
- Language: HCL
- Homepage: https://vulnerability-reporting.service.security.gov.uk/
- Size: 345 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gc3-vuln-reporting-iac
Government Cyber Coordination Centre - Vulnerability Reporting - Infrastructure as Code



Infrastructure as code (Terraform) for VRS running on AWS.
- Pre-production/staging:
- Production:
## security.txt
The `security.txt` file is generated from [security.txt.tmpl](https://github.com/co-cddo/gccc-vrs-iac/blob/main/cdn/s3_bucket/.well-known/security.txt.tmpl) and takes variables from [cdn/s3.tf](https://github.com/co-cddo/gccc-vrs-iac/blob/main/cdn/s3.tf#L38) - it is updated on every change and deploy or every Wednesday at 9am.
## Acknowledgements
Acknowledgements can be added in the [cdn/variables.tf](https://github.com/co-cddo/gccc-vrs-iac/blob/main/cdn/variables.tf#L2) file.
## Infrastructure
### CloudFront CDN
[cdn](cdn/) is for CloudFront where S3 is the backend origin, [Functions](https://aws.amazon.com/blogs/aws/introducing-cloudfront-functions-run-your-code-at-the-edge-with-low-latency-at-any-scale/) are used to handle traffic dynamically and in a scalable way.
The [router JavaScript function](cdn/functions/router/router.js) has several endpoints.
The router function has a test suite that can be ran by doing:
``` bash
cd cdn/functions/router/
npm install
npm test
```
### Route53 DNS
[dns](dns/) is the management of the Route53 zone and records.
Utilises the [aws-route53-parked-govuk-domain](https://github.com/co-cddo/aws-route53-parked-govuk-domain) Terraform module for _parking_ the email records.