-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
57 changed files
with
2,621 additions
and
330 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
# Design-Docs | ||
# Drafts Archive | ||
|
||
Design Documents, Architecture etc. for SCS and related technology | ||
## Deprecation Notice | ||
|
||
Here we collect docs that cover overarching SCS topics or topics that otherwise do not belong to an existing repository. | ||
> [!CAUTION] | ||
> Please do not create new files in this folder! | ||
The contents of this folder are for archival purposes only. New drafts belong | ||
in the [`../Standards/`](https://github.com/SovereignCloudStack/standards/tree/main/Standards) | ||
folder instead and adhere to the lifecycle described in | ||
[scs-0001-v1-sovereign-cloud-standards](https://github.com/SovereignCloudStack/standards/blob/main/Standards/scs-0001-v1-sovereign-cloud-standards.md). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
Drafts/node-to-node-encryption.md → ...ds/scs-0122-v1-node-to-node-encryption.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
82 changes: 82 additions & 0 deletions
82
Standards/scs-0123-v1-mandatory-and-supported-IaaS-services.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
--- | ||
title: Mandatory and Supported IaaS Services | ||
type: Standard | ||
status: Stable | ||
stabilized_at: 2024-11-20 | ||
track: IaaS | ||
--- | ||
|
||
## Introduction | ||
|
||
To be SCS-compliant a Cloud Service Provider (CSP) has to fulfill all SCS standards. | ||
Some of those standards are broad and consider all APIs of all services on the IaaS-Layer like the consideration of a [role standard](https://github.com/SovereignCloudStack/issues/issues/396). | ||
There exist many services on that layer and for a first step they need to be limited to have a clear scope for the standards and the Cloud Service Providers following them. | ||
For this purpose, this standard will establish lists for mandatory services whose APIs have to be present in a SCS cloud as well as supported services, which APIs are considered by some standards and may even be tested for their integration but are optional in a sense that their omission will not violate SCS conformance. | ||
|
||
## Motivation | ||
|
||
There are many OpenStack APIs and their corresponding services that can be deployed on the IaaS level. | ||
These services have differences in the quality of their implementation and liveness and some of them may be easily omitted when creating an IaaS deployment. | ||
To fulfill all SCS-provided standards only a subset of these APIs are required. | ||
Some more but not all remaining OpenStack APIs are also supported additionally by the SCS project and may be part of its reference implementation. | ||
This results in different levels of support for specific services. | ||
This document will give readers insight about how the SCS classifies the OpenStack APIs accordingly. | ||
If a cloud provides all mandatory and any number of supported OpenStack APIs, it can be tested for SCS-compliance. | ||
Any unsupported APIs will not be tested. | ||
|
||
## Mandatory IaaS APIs | ||
|
||
The following IaaS APIs MUST be present in SCS-compliant IaaS deployments and could be implemented with the corresponding OpenStack services: | ||
|
||
| Mandatory API | corresponding OpenStack Service | description | | ||
|-----|-----|-----| | ||
| **block-storage** | Cinder | Block Storage service | | ||
| **compute** | Nova | Compute service | | ||
| **identity** | Keystone | Identity service | | ||
| **image** | Glance | Image service | | ||
| **load-balancer** | Octavia | Load-balancer service | | ||
| **network** | Neutron | Networking service | | ||
| **s3** | S3 API object storage | Object Storage service | | ||
|
||
:::caution | ||
|
||
S3 API implementations may differ in certain offered features. | ||
CSPs must publicly describe the endpoints of their S3 solutions and which implementations they use in their deployment. | ||
Users should always research whether a needed feature is supported in the offered implementation. | ||
|
||
::: | ||
|
||
The endpoints of services MUST be findable through the `catalog list` of the identity API[^1]. | ||
|
||
[^1]: [Integrate into the service catalog of Keystone](https://docs.openstack.org/keystone/latest/contributor/service-catalog.html) | ||
|
||
## Supported IaaS APIs | ||
|
||
The following IaaS APIs MAY be present in SCS-compliant IaaS deployment, e.g. implemented thorugh the corresponding OpenStack services, and are considered in the SCS standards. | ||
|
||
| Supported API | corresponding OpenStack Service | description | | ||
|-----|-----|-----| | ||
| **bare-metal** | Ironic | Bare Metal provisioning service | | ||
| **billing** | CloudKitty | Rating/Billing service | | ||
| **dns** | Designate | DNS service | | ||
| **ha** | Masakari | Instances High Availability service | | ||
| **key-manager** | Barbican | Key Manager service | | ||
| **object-store** | Swift | Object Store with different possible backends | | ||
| **orchestration** | Heat | Orchestration service | | ||
| **shared-file-systems** | Manila | Shared File Systems service | | ||
| **time-series-database** | Gnocchi | Time Series Database service | | ||
|
||
## Unsupported IaaS APIs | ||
|
||
All other OpenStack services, whose APIs are not mentioned in the mandatory or supported lists will not be tested for their compatibility and conformance in SCS clouds by the SCS community. | ||
Those services MAY be integrated into IaaS deployments by a Cloud Service Provider on their own responsibility but SCS will not assume they are present and potential issues that occur during deployment or usage have to be handled by the CSP on their own accord. | ||
The SCS standard offers no guarantees for compatibility or reliability of services categorized as unsupported. | ||
|
||
## Related Documents | ||
|
||
[The OpenStack Services](https://www.openstack.org/software/) | ||
|
||
## Conformance Tests | ||
|
||
The presence of the mandatory OpenStack APIs will be tested in [this test-script](https://github.com/SovereignCloudStack/standards/blob/main/Tests/iaas/mandatory-services/mandatory-iaas-services.py) | ||
The test will further check whether the object-store endpoint is compatible to s3. |
138 changes: 138 additions & 0 deletions
138
Standards/scs-0124-v1-security-of-iaas-service-software.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,138 @@ | ||
--- | ||
title: Standard for the security of IaaS service software | ||
type: Standard | ||
status: Draft | ||
track: IaaS | ||
--- | ||
|
||
## Introduction | ||
|
||
Software security relies on bug patches and security updates being available for specific versions of the software. | ||
The services, which build the IaaS Layer should be updated on a regular basis based on updates provided by their respective authors or distributors. | ||
But older releases or versions of the software of these services may not receive updates anymore. | ||
Unpatched versions should not be used in deployments as they are a security risk, so this standard will define how CSPs should deal with software versions and security updates. | ||
|
||
## Terminology | ||
|
||
| Term | Explanation | | ||
| ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | | ||
| CSP | Cloud Service Provider, provider managing the OpenStack infrastructure. | | ||
| SLURP | Skip Level Upgrade Release Process - A Process that allows upgrades between two releases, while skipping the one in between them. | | ||
| OSSN | [OpenStack Security Note](https://wiki.openstack.org/wiki/Security_Notes) - security issues from 3rd parties or due to misconfigurations. | | ||
| OSSA | [OpenStack Security Advisories](https://security.openstack.org/ossalist.html) - security issues and advices for OpenStack. | | ||
|
||
## Motivation | ||
|
||
On the IaaS Layer the software, that needs to be considered in the scope of this standard, is mainly the APIs of IaaS Services. | ||
Also there might be shared libraries and other dependencies, that could be considered part of the IaaS Layer. | ||
In software projects like e.g. OpenStack that provide the main services and all APIs, the software will be modified and receive bug fixes continuously and will receive releases of new versions on a regular basis. | ||
Older releases will at some point not receive updates anymore, because maintaining more and more releases simultaneously requires too much manpower. | ||
Thus older versions will also eventually not receive security updates anymore. | ||
Using versions which do not receive updates anymore threatens the baseline security of deployments and should be avoided under all circumstances. | ||
|
||
## Design Considerations | ||
|
||
It would be possible to define a minimum version of IaaS Layer software to avoid security risks. | ||
In the following paragraphs several options of defining a minimum version or dealing with security patches otherwise are discussed. | ||
|
||
### Options considered | ||
|
||
#### Only Allow the current versions of Software | ||
|
||
Considering that OpenStack as one provider of IaaS Layer Software has two releases per year, with one SLURP release per year, this option would require CSPs to update their deployment once or twice a year. | ||
Updating a whole deployment is a lot of work and requires also good life-cycle management. | ||
Following only the SLURP releases would reduce this work to once per year. | ||
|
||
While following new releases closely already provides a deployment with recent bug fixes and new features, it also makes developing standards easier. | ||
Differences between releases will accumulate eventually and may render older releases non-compliant to the SCS standards at some point. | ||
|
||
On the other hand on the IaaS Level there aren't many breaking changes introduced by releases and also most standards will also work with older releases. | ||
Security updates and bug fixes are also provided by OpenStack for a few older releases with the state `maintained` according to the OpenStack releases overview[^2]. | ||
Additionally the [SCS reference implementation](https://github.com/SovereignCloudStack/release-notes/blob/main/Release7.md) is integrating OpenStack releases after half a year - so about the time when a new release is published by OpenStack. | ||
Considering a CSP that wants to use only SLURP releases and waits for the reference implementation to adopt them, will already lag over a year (i.e. 2 OpenStack releases) behind the latest release, this cannot be considered as using the current version of IaaS Layer Software. | ||
Thus this option can be discarded. | ||
|
||
#### Allow only maintained versions of Software | ||
|
||
While following closely to the newest releases could be advised, there are several downsides to requiring this workflow, even if it would be only for SLURP releases. | ||
Following the SCS reference implementation for example would also lead into being a little bit behind the newest OpenStack release. | ||
But this is not as bad as it may seem to be, because security related fixes and bug fixes are backported to older but still `maintained` releases. | ||
All releases that are still maintained can be looked up at the releases page from OpenStack[^2]. | ||
|
||
Allowing maintained versions would give CSPs a little bit more time to update and test their environments, while still receiving relevant security updates and bug fixes. | ||
Also CSPs that want to become SCS-compliant will not have to take on the burden to upgrade their deployments to very recent releases immediately, but can instead test with an existing release before an upgrade and identify where they need to put in additional work to become SCS-compliant. | ||
|
||
One problem is, that there might be new features implemented in the newest versions of the software, which are desired by other SCS standards to be SCS-compliant. | ||
In that case allowing all maintained versions would lead to a two-year timespan customers would need to wait for before such a feature becomes available in all SCS-compliant deployments. | ||
In case of security relevant features this is not advisable. | ||
|
||
#### Standards implicitly define the minimum versions of Software | ||
|
||
Instead of requiring a defined minimum software version centrally, it could be derived from the individual standards. | ||
Because: Whenever there is a new wanted behavior a standard should be created and a resonable timeframe given to CSPs to adopt a software version that can fulfill the new standard. | ||
Through the combination of all standards that are in place, the minimum version for the IaaS service software is implicitly given. | ||
|
||
This would avoid to have conflicting versions of software in terms of feature parity, while also allowing older software. | ||
Using this approach requires an additional advise to CSPs to update or implement patches for security issues. | ||
|
||
#### Advise CSPs to integrate software updates | ||
|
||
As long as maintained versions of software are used, updates with security patches are available and only need to be integrated. | ||
This can and should be done in a reasonable short timeframe. | ||
|
||
But CSPs may even use releases of IaaS software, that are either not maintained anymore by an open source community or may be even closed source implementations of the mandatory IaaS APIs. | ||
Allowing older versions or closed source software would only be acceptable, when CSPs assure (e.g. in documentation), that they themself will patch the software within their deployments. | ||
Security bug fixes must be implemented and proof of the fix then provided. | ||
Only under these circumstances deployments with older or alternative IaaS Layer software may be handled as compliant. | ||
|
||
This option could be taken for granted, but to actually advise using it may encourage CSPs to take a closer look on their life-cycle management and security risk handling. | ||
And CSPs using OpenStack could even be encouraged to upgrade their deployments. | ||
|
||
#### Dependencies of the IaaS Layer Software | ||
|
||
While the IaaS service software like OpenStack itself is monitored and security issues announced in OSSNs and OSSAs, these services have lots of dependecies, that are not monitored by the same entity. | ||
When dependencies have security issues, there might be no OSSN or OSSA, so CSPs also need to watch CVEs concerning these dependencies themselves. | ||
Those dependencies must also be updated in a reasonable timeframe, when a security issue is disclosed. | ||
|
||
#### What timeframe is needed to fix the issue? | ||
|
||
CSPs should be encouraged to fix security issues as fast as possible. | ||
Some security issues are very easy to exploit so as soon as the vulnerability is disclosed attacks on deployments will start. | ||
Other vulnerabilities may need much knowledge and more time to be exploited. | ||
Also the impact of different vulnerabilities will differ. | ||
|
||
So it can be concluded that some security issues need to be fixed immediately while for others it is okay to take some time. | ||
The BSI already has some guidance[^1] on how fast CSPs should respond. | ||
From the moment a vulnerability is disclosed these are the advised reaction times ranked by the severity of the vulnerability: | ||
|
||
1. Critical (CVSS = 9.0 – 10.0): 3 hours | ||
2. High (CVSS = 7.0 – 8.9): 3 days | ||
3. Mid (CVSS = 4.0 – 6.9): 1 month | ||
4. Low (CVSS = 0.1 – 3.9): 3 months | ||
|
||
[^1]: [C5 criteria catalog with timeframes for responses on page 70.](https://www.bsi.bund.de/SharedDocs/Downloads/EN/BSI/CloudComputing/ComplianceControlsCatalogue/2020/C5_2020.pdf?__blob=publicationFile&v=3) | ||
|
||
This standard will follow this guidance and refer to these timeframes as "reasonable timeframes". | ||
|
||
## Standard for a minimum IaaS Layer Software version | ||
|
||
If a deployment is affected by a security issue and a maintained[^2] version of OpenStack is used as implementation for IaaS Layer software, security patches noted in OSSNs and OSSAs MUST be integrated within a reasonable timeframe according to the severity of the security issue[^1]. | ||
Otherwise the CSP MUST implement security bug fixes themself within a reasonable timeframe, when the deplyoment is affected by a security issue according to the severity of the security issue[^1]. | ||
|
||
In both cases a notice of the update MUST be send to the OSBA, so that the compliance will not be revoked. | ||
|
||
If a deployment uses a dependency of the IaaS service software which is affected by a security issue, this software also MUST be updated with security patches within a reasonable timeframe[^1]. | ||
|
||
An open SBOM list MAY be used to propagate the current version of the software and may be used as proof of updates. | ||
|
||
[^2]: [OpenStack versions and their current status](https://releases.openstack.org) | ||
|
||
## Conformance Tests | ||
|
||
In case of provided SBOMs the version numbers of the software could be checked. | ||
But this is not a requirement, so there cannot be such a test. | ||
Tests on the integration of security patches itself are difficult. | ||
And even if tests for certain security issues are possible, then those might be interpreted as an attack. | ||
This is the reason there will be no conformance test. | ||
|
||
Rather the standard requires that CSPs provide notice of the fixed vulnerabilites themselves. |
Oops, something went wrong.