Skip to content

Commit 187234d

Browse files
authored
Add companies (#2)
* Add CentOS project and Stream * Add Fedora page * Delete file for MongoDB (migrated to other repo) * Add VS 2022 config * Update VS 2022 * Updates * Add Wiz * Add codefresh article * Add cloud-service-samples * Add cloud-native-samples in samples * Add MongoDB * Move license to CC BY-NC 4.0 * Migrate docs from cnapp-handbook repo * Use GitHub reusable action for markup validate * Upgrade NPM packages and fix md lint * Update lint configs * Add local lint commands
1 parent b0b8267 commit 187234d

File tree

366 files changed

+43778
-2670
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

366 files changed

+43778
-2670
lines changed

.editorconfig

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
root = true
22

33
[*]
4-
charset = utf-8
54
end_of_line = lf
65
indent_size = 2
76
indent_style = space
@@ -10,3 +9,9 @@ trim_trailing_whitespace = true
109

1110
[*.md]
1211
trim_trailing_whitespace = false
12+
13+
[*.{md,yaml,yml}]
14+
charset = utf-8-bom
15+
16+
[*.{env,sh,tf,tfpl}]
17+
charset = utf-8

.github/workflows/ci.yml

Lines changed: 15 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,29 @@
1-
name: CI
1+
name: CI
22

33
on:
44
push:
55
branches:
66
- main
7+
pull_request:
8+
branches:
9+
- main
710
workflow_dispatch: {}
811

9-
env:
10-
python_version: "3.10"
12+
concurrency:
13+
group: "${{ github.ref }}-ci"
14+
cancel-in-progress: true
1115

1216
jobs:
13-
check-code:
17+
markup-lint:
18+
name: Markup
19+
uses: devpro/github-workflow-parts/.github/workflows/reusable-markup-lint.yml@c90ba46a93ca90123f57744b47e49c1a73962cea
20+
21+
code-quality:
22+
name: Code / Quality
1423
runs-on: ubuntu-latest
1524
steps:
16-
- name: Checks-out the repository
17-
uses: actions/checkout@v4
18-
- name: Lints Markdown files
19-
uses: DavidAnson/markdownlint-cli2-action@v16
20-
with:
21-
globs: '**/*.md'
22-
- name: Set up Python ${{ env.python_version }}
23-
uses: actions/setup-python@v5
24-
with:
25-
python-version: ${{ env.python_version }}
26-
- name: Install Pythons packages
27-
run: |
28-
python -m pip install --upgrade pip
29-
pip install yamllint
30-
- name: Lint YAML files
31-
run: |
32-
yamllint .
25+
- name: Clone repository
26+
uses: actions/checkout@v6
3327
- name: Install JavaScript dependencies
3428
run: npm install
3529
- name: Build website

.github/workflows/deploy.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Deploy
1+
name: Deploy
22

33
on:
44
push:
@@ -11,10 +11,12 @@ jobs:
1111
name: Build website
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v5
14+
- name: Clone repository
15+
uses: actions/checkout@v6
1516
with:
1617
fetch-depth: 0
17-
- uses: actions/setup-node@v5
18+
- name: Install Node
19+
uses: actions/setup-node@v5
1820
with:
1921
node-version: 22
2022
cache: npm

.markdownlint-cli2.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
gitignore: true
2+
ignores:
3+
- "**/node_modules/**"
4+
config:
5+
# ref. https://github.com/DavidAnson/markdownlint
6+
default: true
7+
# MD007:
8+
# indent: 4 # needed by PyMdown Extensions
9+
MD013:
10+
line_length: 350
11+
MD033: false
12+
MD046: false

.markdownlint.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

.yamllint.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1+
extends: default
12
# ref. https://yamllint.readthedocs.io/en/stable/configuration.html
2-
3-
extends: default
4-
3+
ignore:
4+
- 'samples/*/helm/charts/*/templates/**'
5+
- 'node_modules/**'
56
rules:
67
document-start: disable
78
line-length:
89
level: warning
9-
max: 120
10+
max: 170
1011
truthy: disable
12+
brackets:
13+
max-spaces-inside: 1

CONTRIBUTING.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
# Contributing
1+
# Contributing
2+
3+
[![GitLab Pipeline Status](https://gitlab.com/devpro-labs/enablement/tech-notes/badges/main/pipeline.svg)](https://gitlab.com/devpro-labs/enablement/tech-notes/-/pipelines)
24

35
This website is built using [Docusaurus](https://docusaurus.io/) ([facebook/docusaurus](https://github.com/facebook/docusaurus)), a modern static website generator.
46

57
## Run locally
68

7-
Make sure [Node.js](https://nodejs.org/en/download/) (version 18.0 or above) is installed.
9+
Make sure [Node.js](https://nodejs.org/en/download/) (LTS or above) is installed.
810

911
Install the dependencies:
1012

@@ -51,6 +53,18 @@ Files are in `src/theme/DocItem/Layout`.
5153
5254
## Lint before committing
5355
56+
Check YAML files:
57+
58+
```bash
59+
docker run --rm -v "$(pwd)":/data cytopia/yamllint .
60+
```
61+
62+
Check Markdown files:
63+
64+
```bash
65+
docker run --rm -v "$(pwd)":/workdir davidanson/markdownlint-cli2 "**/*.md"
66+
```
67+
5468
Reproduce locally GitLab jobs:
5569

5670
```bash

LICENSE

Lines changed: 34 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Attribution-NonCommercial-NoDerivatives 4.0 International
1+
Attribution-NonCommercial 4.0 International
22

33
=======================================================================
44

@@ -54,18 +54,18 @@ exhaustive, and do not form part of our licenses.
5454

5555
=======================================================================
5656

57-
Creative Commons Attribution-NonCommercial-NoDerivatives 4.0
58-
International Public License
57+
Creative Commons Attribution-NonCommercial 4.0 International Public
58+
License
5959

6060
By exercising the Licensed Rights (defined below), You accept and agree
6161
to be bound by the terms and conditions of this Creative Commons
62-
Attribution-NonCommercial-NoDerivatives 4.0 International Public
63-
License ("Public License"). To the extent this Public License may be
64-
interpreted as a contract, You are granted the Licensed Rights in
65-
consideration of Your acceptance of these terms and conditions, and the
66-
Licensor grants You such rights in consideration of benefits the
67-
Licensor receives from making the Licensed Material available under
68-
these terms and conditions.
62+
Attribution-NonCommercial 4.0 International Public License ("Public
63+
License"). To the extent this Public License may be interpreted as a
64+
contract, You are granted the Licensed Rights in consideration of Your
65+
acceptance of these terms and conditions, and the Licensor grants You
66+
such rights in consideration of benefits the Licensor receives from
67+
making the Licensed Material available under these terms and
68+
conditions.
6969

7070

7171
Section 1 -- Definitions.
@@ -80,59 +80,62 @@ Section 1 -- Definitions.
8080
Adapted Material is always produced where the Licensed Material is
8181
synched in timed relation with a moving image.
8282

83-
b. Copyright and Similar Rights means copyright and/or similar rights
83+
b. Adapter's License means the license You apply to Your Copyright
84+
and Similar Rights in Your contributions to Adapted Material in
85+
accordance with the terms and conditions of this Public License.
86+
87+
c. Copyright and Similar Rights means copyright and/or similar rights
8488
closely related to copyright including, without limitation,
8589
performance, broadcast, sound recording, and Sui Generis Database
8690
Rights, without regard to how the rights are labeled or
8791
categorized. For purposes of this Public License, the rights
8892
specified in Section 2(b)(1)-(2) are not Copyright and Similar
8993
Rights.
90-
91-
c. Effective Technological Measures means those measures that, in the
94+
d. Effective Technological Measures means those measures that, in the
9295
absence of proper authority, may not be circumvented under laws
9396
fulfilling obligations under Article 11 of the WIPO Copyright
9497
Treaty adopted on December 20, 1996, and/or similar international
9598
agreements.
9699

97-
d. Exceptions and Limitations means fair use, fair dealing, and/or
100+
e. Exceptions and Limitations means fair use, fair dealing, and/or
98101
any other exception or limitation to Copyright and Similar Rights
99102
that applies to Your use of the Licensed Material.
100103

101-
e. Licensed Material means the artistic or literary work, database,
104+
f. Licensed Material means the artistic or literary work, database,
102105
or other material to which the Licensor applied this Public
103106
License.
104107

105-
f. Licensed Rights means the rights granted to You subject to the
108+
g. Licensed Rights means the rights granted to You subject to the
106109
terms and conditions of this Public License, which are limited to
107110
all Copyright and Similar Rights that apply to Your use of the
108111
Licensed Material and that the Licensor has authority to license.
109112

110-
g. Licensor means the individual(s) or entity(ies) granting rights
113+
h. Licensor means the individual(s) or entity(ies) granting rights
111114
under this Public License.
112115

113-
h. NonCommercial means not primarily intended for or directed towards
116+
i. NonCommercial means not primarily intended for or directed towards
114117
commercial advantage or monetary compensation. For purposes of
115118
this Public License, the exchange of the Licensed Material for
116119
other material subject to Copyright and Similar Rights by digital
117120
file-sharing or similar means is NonCommercial provided there is
118121
no payment of monetary compensation in connection with the
119122
exchange.
120123

121-
i. Share means to provide material to the public by any means or
124+
j. Share means to provide material to the public by any means or
122125
process that requires permission under the Licensed Rights, such
123126
as reproduction, public display, public performance, distribution,
124127
dissemination, communication, or importation, and to make material
125128
available to the public including in ways that members of the
126129
public may access the material from a place and at a time
127130
individually chosen by them.
128131

129-
j. Sui Generis Database Rights means rights other than copyright
132+
k. Sui Generis Database Rights means rights other than copyright
130133
resulting from Directive 96/9/EC of the European Parliament and of
131134
the Council of 11 March 1996 on the legal protection of databases,
132135
as amended and/or succeeded, as well as other essentially
133136
equivalent rights anywhere in the world.
134137

135-
k. You means the individual or entity exercising the Licensed Rights
138+
l. You means the individual or entity exercising the Licensed Rights
136139
under this Public License. Your has a corresponding meaning.
137140

138141

@@ -148,8 +151,8 @@ Section 2 -- Scope.
148151
a. reproduce and Share the Licensed Material, in whole or
149152
in part, for NonCommercial purposes only; and
150153

151-
b. produce and reproduce, but not Share, Adapted Material
152-
for NonCommercial purposes only.
154+
b. produce, reproduce, and Share Adapted Material for
155+
NonCommercial purposes only.
153156

154157
2. Exceptions and Limitations. For the avoidance of doubt, where
155158
Exceptions and Limitations apply to Your use, this Public
@@ -223,7 +226,8 @@ following conditions.
223226

224227
a. Attribution.
225228

226-
1. If You Share the Licensed Material, You must:
229+
1. If You Share the Licensed Material (including in modified
230+
form), You must:
227231

228232
a. retain the following if it is supplied by the Licensor
229233
with the Licensed Material:
@@ -251,9 +255,6 @@ following conditions.
251255
Public License, and include the text of, or the URI or
252256
hyperlink to, this Public License.
253257

254-
For the avoidance of doubt, You do not have permission under
255-
this Public License to Share Adapted Material.
256-
257258
2. You may satisfy the conditions in Section 3(a)(1) in any
258259
reasonable manner based on the medium, means, and context in
259260
which You Share the Licensed Material. For example, it may be
@@ -265,6 +266,10 @@ following conditions.
265266
information required by Section 3(a)(1)(A) to the extent
266267
reasonably practicable.
267268

269+
4. If You Share Adapted Material You produce, the Adapter's
270+
License You apply must not prevent recipients of the Adapted
271+
Material from complying with this Public License.
272+
268273

269274
Section 4 -- Sui Generis Database Rights.
270275

@@ -274,7 +279,7 @@ apply to Your use of the Licensed Material:
274279
a. for the avoidance of doubt, Section 2(a)(1) grants You the right
275280
to extract, reuse, reproduce, and Share all or a substantial
276281
portion of the contents of the database for NonCommercial purposes
277-
only and provided You do not Share Adapted Material;
282+
only;
278283

279284
b. if You include all or a substantial portion of the database
280285
contents in a database in which You have Sui Generis Database
@@ -385,7 +390,7 @@ Section 8 -- Interpretation.
385390
Creative Commons is not a party to its public
386391
licenses. Notwithstanding, Creative Commons may elect to apply one of
387392
its public licenses to material it publishes and in those instances
388-
will be considered the "Licensor". The text of the Creative Commons
393+
will be considered the Licensor.” The text of the Creative Commons
389394
public licenses is dedicated to the public domain under the CC0 Public
390395
Domain Dedication. Except for the limited purpose of indicating that
391396
material is shared under a Creative Commons public license or as

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
# DevPro Technical Notes
1+
# DevPro Technical Notes
22

3-
[![GitLab Pipeline Status](https://gitlab.com/devpro-labs/enablement/tech-notes/badges/main/pipeline.svg)](https://gitlab.com/devpro-labs/enablement/tech-notes/-/pipelines)
43
[![GitHub Action CI status](https://github.com/devpro/tech-notes/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/devpro/tech-notes/actions/workflows/ci.yml)
54
[![GitHub Action Deploy status](https://github.com/devpro/tech-notes/actions/workflows/deploy.yml/badge.svg?branch=main)](https://github.com/devpro/tech-notes/actions/workflows/deploy.yml)
65

76
Source for [tech.devpro.fr](https://tech.devpro.fr).
87
Feel free to [contribute](CONTRIBUTING.md)!
98

9+
License: [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/)
10+
1011
## Sections
1112

1213
* [Fundamentals](docs/fundamentals/fundamentals.md)

docs/fundamentals/standards/glossary.md

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,30 @@
22

33
## IT
44

5-
Accronym | Meaning
6-
---------|--------------------------------------------------------------
7-
BGP | Border Gateway Protocol
8-
DKIM | Domain Keys Identified Mail
9-
DMARC | Domain-based Message Authentication Reporting and Conformance
10-
FOSS | Free and open source software
11-
SRE | Site Reliability Engineering
12-
SPF | Sender Policy Framework
5+
Acronym | Meaning
6+
--------|--------------------------------------------------------------
7+
BGP | Border Gateway Protocol
8+
DKIM | Domain Keys Identified Mail
9+
DMARC | Domain-based Message Authentication Reporting and Conformance
10+
FOSS | Free and open source software
11+
SRE | Site Reliability Engineering
12+
SPF | Sender Policy Framework
1313

1414
## Programming
1515

16-
Accronym | Meaning | Details
17-
---------|--------------------|-------------------------------------------------------------
18-
DFA | Data flow analysis | A method used to understand how data moves through a program
16+
Acronym | Meaning | Details
17+
--------|--------------------|-------------------------------------------------------------
18+
DFA | Data flow analysis | A method used to understand how data moves through a program
1919

2020
## Security
2121

22-
Accronym | Meaning
23-
---------|---------------------------
24-
NHI | Non-Human Identity
25-
SOC | Security Operations Center
22+
Acronym | Meaning
23+
--------|---------------------------
24+
CIEM | Cloud Infrastructure Entitlement Management
25+
CNAPP | Cloud Native Application Protection Platform
26+
CSPM | Cloud Security Posture Management
27+
CWP | Cloud Workload Protection
28+
DSPM | Data Security Posture Management
29+
KSPM | Kubernetes Security Posture Management
30+
NHI | Non-Human Identity
31+
SOC | Security Operations Center

0 commit comments

Comments
 (0)