255ba6aec9
- Updated `generate_report.sh` to include additional scanners and output paths. - Enhanced `send_report.py` with new data classes for misconfigurations and vulnerabilities. - Improved parsing logic for Trivy output, supporting both Kubernetes and image scans. - Added Prometheus metrics generation for various scan results, including misconfigurations and vulnerabilities. - Introduced unit tests for parsing Trivy output and generating Prometheus metrics. - Modified Terraform variables for SMTP port type and added Pushgateway URL variable.
29 lines
674 B
Terraform
29 lines
674 B
Terraform
variable "fqdn" {
|
|
description = "The fully qualified domain name for the app server"
|
|
type = string
|
|
default = ""
|
|
}
|
|
|
|
variable "issuer" {
|
|
description = "The issuer for the certificate"
|
|
type = string
|
|
default = "internal-ca"
|
|
}
|
|
|
|
variable "tag" {
|
|
description = "Grafana image tag"
|
|
type = string
|
|
default = "latest"
|
|
}
|
|
|
|
variable "persistent_folder" {
|
|
description = "The path to the persistent folder"
|
|
type = string
|
|
}
|
|
|
|
variable "prometheus_url" {
|
|
description = "Prometheus service URL used by Grafana datasource provisioning"
|
|
type = string
|
|
default = "http://prometheus.prometheus.svc.cluster.local:9090"
|
|
}
|