CII Badging Program
- 1 What is the CII Badging program?
- 2 Do I Report For the Entire Project or Separately For Every Single Repo? Can I Group Repos Together?
- 3 CII Badging Levels
- 4 ONAP CII Compliance Levels
- 5 R2 Beijing Requirements
- 6 Procedure to Fill Out the BestPractices.CoreInfrastructure.Org Form
- 7 Sample Testing tools
- 8 Resources
- 9 Status of Security Application Quality Requirements on Nov 13, 2019
- 9.1 Silver / Gold
- 9.2 Gold Only
What is the CII Badging program?
CII (Core Infrastructure Initiative) Badge may be achieved by the projects which follow the Best practices criteria for Free/Libre and Open Source Software (FLOSS).
CII has been created by the linux foundation in response to previous security issues in open-source projects (e.g. Heartbleed in openSSL).
The CII Badging is associated to the areas as follows:
Basics, Change Control, Reporting, Quality, Security & Analysis
Projects in ONAP should be CII certified to an appropriate level in order to confirm with expectation of carrier grade.
How to add multiple editors to a project report
You need the numeric ID for the new editor you're adding to your project report.
If the new editor doesn't already have a login on the CII site, they need to create one by going to https://bestpractices.coreinfrastructure.org and clicking on Sign Up.
If you don't know the new editor's CII login ID, have them log in and click on Account -> Profile. At the bottom is a link called “JSON”. Click that and a JSON structure will be shown. We need the “id” value, which is numeric. For example, mine is 1597.
An existing owner or editor of a project then needs to bring up the project page that they want to add another editor to. At the top is a menu item “Edit”. Click that, and search for “(Advanced) What other users have additional rights to edit this badge entry?”. In the field right below that, type in “+” and the numeric ID retrieved above. Click on one of the green “Save” buttons below.
That new person is immediately added as an editor on the project.
As an editor, you can quickly get a list of the projects that you have rights to by clicking on “Account -> Profile”.
Do I Report For the Entire Project or Separately For Every Single Repo? Can I Group Repos Together?
This is your choice. You can do a single report for your entire project, or you can file a separate report for each repository, or even group multiple repositories together.
If your repositories use different languages or different testing procedures, you probably would find it easier to do it per-repository.
You may also group multiple repositories together, if that would help. For example, you might group all of the repositories together that use Java, or all of the repos together that use Erlang.
The key to grouping repositories together is to list all of the repo URLs in the response to the question "What is the URL for the version control repository?" question.
It's your choice as to what makes it easiest for you to manage your project.
If you do file one report for the entire project, or group multiple repos together then you need to answer each Met/Not Met question based on the lowest-common denominator answer: if ANY of the repos don’t meet the requirement, you cannot select Met. You can use the text response for each question to keep track of your reasons for picking any particular answer.
CII Badging Levels
There are 3 CII Badging levels which are as follows:
|
|
|
When a new project starts the badging process they will begin at 0% completeness and as they progress the % will increase.
To see a list of all ONAP projects and their level of completions refer to link https://bestpractices.coreinfrastructure.org/projects?q=onap
ONAP CII Compliance Levels
For ONAP, 4 levels(ONAP Compliance) of compliance have been defined:
For each ONAP compliance level, all the projects in ONAP should comply to certain standards when it comes to CII badging.
ONAP Level 1: 70 % of the code in gerrit must have an 100% completion in the CII badging towards passing level
with the non-passing projects reaching 80% completion in the CII badging towards passing level
Non-passing projects MUST pass specific cryptography criteria outlined by the Security Subcommittee*
ONAP Level 2: 70 % of the projects in gerrit must have an 100% completion in the CII badging for silver level
with non-silver projects completed passing level and 80% completion towards silver level
ONAP Level 3: 70% of the projects in gerrit must have an 100% completion in the CII badging for gold level
with non-gold projects achieving silver level and achieving 80% completion towards gold level
ONAP Level 4: 100 % passing gold.
ONAP CII Badging Dashboard: http://tlhansen.us/onap/cii.html
Some of the important high level example criteria associated to the various levels are listed as follows for quick reference:
How much of a moving target is this? When will these requirements be solidified? I'm concerned that post M1 for Beijing this page will change to a point where my project will be unable to meet requirements for Beijing Platform Maturity Security requirements.