Skip to main navigation Skip to search Skip to main content

Microservice Security Metrics for Secure Communication, Identity Management, and Observability

Publications: Contribution to journalArticlePeer Reviewed

Abstract

Microservice architectures are increasingly being used to develop application systems. Despite many guidelines and best practices being published, architecting microservice systems for security is challenging. Reasons are the size and complexity of microservice systems, their polyglot nature, and the demand for the continuous evolution of these systems. In this context, to manually validate that security architecture tactics are employed as intended throughout the system is a time-consuming and error-prone task. In this article, we present an approach to avoid such manual validation before each continuous evolution step in a microservice system, which we demonstrate using three widely used categories of security tactics: secure communication, identity management, and observability. Our approach is based on a review of existing security guidelines, the gray literature, and the scientific literature, from which we derived Architectural Design Decisions (ADDs) with the found security tactics as decision options. In our approach, we propose novel detectors to detect these decision options automatically and formally defined metrics to measure the conformance of a system to the different options of the ADDs. We apply the approach to a case study data set of 10 open source microservice systems, plus another 20 variants of these systems, for which we manually inspected the source code for security tactics. We demonstrate and assess the validity and appropriateness of our metrics by performing an assessment of their conformance to the ADDs in our systems’ dataset through statistical methods.
Original languageEnglish
Article number16
Pages (from-to)1-34
Number of pages34
JournalACM Transactions on Software Engineering and Methodology
Volume32
Issue number1
Early online date11 May 2022
DOIs
Publication statusPublished - 13 Feb 2023

Austrian Fields of Science 2012

  • 102022 Software development

Keywords

  • Additional Key Words and PhrasesMicroservice architecture
  • microservice security
  • software architecture detectors
  • software architecture metrics

Fingerprint

Dive into the research topics of 'Microservice Security Metrics for Secure Communication, Identity Management, and Observability'. Together they form a unique fingerprint.

Cite this