.. # ******************************************************************************* # Copyright (c) 2025 Contributors to the Eclipse Foundation # # See the NOTICE file(s) distributed with this work for additional # information regarding copyright ownership. # # This program and the accompanying materials are made available under the # terms of the Apache License Version 2.0 which is available at # https://www.apache.org/licenses/LICENSE-2.0 # # SPDX-License-Identifier: Apache-2.0 # ******************************************************************************* Security Manual =============== .. note:: Document header .. document:: [Your Module Name] Security Manual :id: doc__mod_temp_module_name_security_manual :status: draft :safety: ASIL_B :security: YES :realizes: wp__module_security_manual :tags: template .. attention:: The above directive must be updated according to your Module. - Modify ``Your Module Name`` to be your Module Name - Modify ``id`` to be your Module Name in upper snake case preceded by ``doc__`` and succeeded by ``_security_manual`` - Adjust ``status`` to be ``valid`` - Adjust ``security`` and ``tags`` according to your needs Introduction/Scope ------------------ | Assumed Platform Security Requirements -------------------------------------- | For the the following security related stakeholder requirements are assumed to define the top level functionality (purpose) of the . I.e. from these all the feature and component requirements implemented are derived. | Assumptions of Use ------------------ Assumptions on the Environment ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | The platform and its components are developed as Out of Context (OoC) with assumptions on the environment. It is assumed that the platform/components are integrated in a secure system, i.e. qualified POSIX OS. Also the HW related failures are taken into account by the system integrator, if not otherwise stated in the module's security concept. | List of AoUs expected from the environment the platform / module runs on: .. needtable:: :style: table :columns: title;id;status :colwidths: 25,25,25 :sort: title results = [] for need in needs.filter_types(["aou_req"]): if need and "environment" in need["tags"]: results.append(need) Assumptions on the User ^^^^^^^^^^^^^^^^^^^^^^^ | As there is no assumption on which specific OS and HW is used, the integration testing of the stakeholder and feature requirements is expected to be performed by the user of the platform OoC. Tests covering all stakeholder and feature requirements performed on a reference platform (tbd link to reference platform specification), reviewed and passed are included in the platform OoC security package. | Additionally the components of the platform may have additional specific assumptions how they are used. These are part of every module documentation: . Assumptions from components to their users can be fulfilled in two ways: | 1. There are assumption which need to be fulfilled by all SW components, e.g. "every user of an IPC mechanism needs to make sure that he provides correct data (e.g. including appropriate security (access) control)" - in this case the AoU is marked as "platform". | 2. There are assumption which can be fulfilled by a security control realized by some other Project platform component and are therefore not relevant for an user who uses the whole platform. But those are relevant if you chose to use the module OcC stand-alone - in this case the AoU is marked as "module". An example would be the "JSON read" which requires "The user shall provide a string as input which is not corrupted due to HW or QM SW errors." - which is covered when using together with safe platform persistency feature. List of AoUs on the user of the platform features or the module of this Security Manual: .. needtable:: :style: table :columns: title;id;status :colwidths: 25,25,25 :sort: title results = [] for need in needs.filter_types(["aou_req"]): if need and "environment" not in need["tags"]: results.append(need) Security concept of the OoC ---------------------------- | Security Weaknesses, Vulnerabilities ------------------------------------ | Weaknesses, vulnerabilities (bugs in security relevant SW, detected by testing or by users, which could not be fixed) known before release are documented in the platform/module release notes . References ---------- | |