Abstract
dc:description.abstractLarge-scale cloud environments can lack a reliable way to determine whether deployed resources are managed through Infrastructure as Code (IaC) and, whenthey are, which IaC artifacts are responsible for them. This provenance gap canlead to unclear ownership, incomplete visibility over IaC adoption, weaker governance, and increased reliance on manual investigation. It can also create security and operational risks: when the responsible project, repository, or management context of aresource isunknown,securityincidents, compliance issues, andconfiguration inconsistencies may take longer to investigate, route, and remediate. These problems are particularly relevant for legacy resources created beforestandardized tagging and governance practices were introduced.This dissertation addresses this problem by designing, implementing, and evaluating an automated approach for establishing Infrastructure-as-Code provenanceacross a large Microsoft Azure environment. The proposed solution combinesinformation obtained from the deployed Azure estate with evidence extractedfrom Terraform state, allowing resources to be classified according to their IaCmanagement status and linked, where possible, to the corresponding Terraformstate, project, and repository. The approach operates retroactively and thereforedoes not depend exclusively on resource tags or other metadata introduced atresource-creation time.The resulting system provides a centralized resource-oriented view of infrastructure provenance. By making the IaC management context of resources easierto identify, it reduces manual investigation, improves ownership routing, supports faster investigation and remediation of security and operational issues, andprovides a stronger basis for IaC-adoption analysis, governance assessment, anddrift-oriented investigation. The solution also preserves cases where the available evidence is incomplete or uncertain rather than forcing unsupported classifications.Evaluation in the accessible organizational Azure scope showed that the approachis operationally feasible for repeated reconciliation at scale. Overall, the workdemonstrates that combining cloud inventory information with IaC-derived evidence can provide a practical basis for improving infrastructure traceability, governance visibility, security investigation, and the identification and remediationof resources requiring further attention.
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Melo, Afonso Gonçalves de Gouveia e
- Advisors dc:contributor.advisor
-
- Cerveira, Frederico Manuel Duarte
- Neiva, Ricardo Nuno Gomes Pereira
Subjects
dc:subject × 5Rights
dc:rights- Statement dc:rights
-
- openAccess
- Language dc:language.iso
- eng
Identifiers
dc:identifier.*- Dc Identifier Tid
- 204413478