Zur Hauptnavigation wechseln Zur Suche wechseln Zum Hauptinhalt wechseln

Understanding security tactics in microservice APIs using annotated software architecture decomposition models - A controlled experiment

Veröffentlichungen: Beitrag in FachzeitschriftArtikelPeer Reviewed

Abstract

While microservice architectures have become a widespread option for designing distributed applications, designing secure microservice systems remains challenging. Although various security-related guidelines and practices exist, these systems' sheer size, complex communication structures, and polyglot tech stacks make it difficult to manually validate whether adequate security tactics are applied throughout their architecture. To address these challenges, we have devised a novel solution that involves the automatic generation of security-annotated software decomposition models and the utilization of security-based metrics to guide software architectures through the assessment of security tactics employed within microservice systems. To evaluate the effectiveness of our artifacts, we conducted a controlled experiment where we asked 60 students from two universities and ten experts from the industry to identify and assess the security features of two microservice reference systems. During the experiment, we tracked the correctness of their answers and the time they needed to solve the given tasks to measure how well they could understand the security tactics applied in the reference systems. Our results indicate that the supplemental material significantly improved the correctness of the participants' answers without requiring them to consult the documentation more. Most participants also stated in a self-assessment that their understanding of the security tactics used in the systems improved significantly because of the provided material, with the additional diagrams considered very helpful. In contrast, the perception of architectural metrics varied widely. We could also show that novice developers benefited most from the supplementary diagrams. In contrast, senior developers could rely on their experience to compensate for the lack of additional help. Contrary to our expectations, we found no significant correlation between the time spent solving the tasks and the overall correctness score achieved, meaning that participants who took more time to read the documentation did not automatically achieve better results. As far as we know, this empirical study is the first analysis that explores the influence of security annotations in component diagrams to guide software developers when assessing microservice system security.
OriginalspracheEnglisch
Aufsatznummer66
FachzeitschriftEmpirical Software Engineering: an international journal
Jahrgang30
Ausgabenummer3
DOIs
PublikationsstatusVeröffentlicht - Juni 2025

Fördermittel

This work was supported by the API-ACE project, funded by FWF (Austrian Science Fund) project I 4268 and SNF (Swiss National Foundation) project 184692. Our work has received funding from the European Union\u2019s Horizon 2020 research and innovation programme under grant agreement No 952647 (AssureMOSS project).

TrägerTrägernummer
Fonds zur Förderung der wissenschaftlichen Forschung (FWF)I 4268
European Union952647

ÖFOS 2012

  • 102022 Softwareentwicklung

Fingerprint

Untersuchen Sie die Forschungsthemen von „Understanding security tactics in microservice APIs using annotated software architecture decomposition models - A controlled experiment“. Zusammen bilden sie einen einzigartigen Fingerprint.

Zitationsweisen