Commit 6232b50
Merge Develop into Release (#3594)
* Improve `insecure-load-balancer-tls-version` AWS rule (#3584)
Add support for `ELBSecurityPolicy-TLS13-1-2-Res-2021-06`, which is the
most secure TLS 1.2+ policy that AWS ALBs offer. Recommend it as the preferred
fix for rule failures.
`ELBSecurityPolicy-TLS13-1-2-Res-2021-06` removes the following (insecure)
cipher suites as compared to `ELBSecurityPolicy-TLS13-1-2-2021-06` because
they are CBC-based instead of GCM-based:
- ECDHE-ECDSA-AES128-SHA256
- ECDHE-RSA-AES128-SHA256
- ECDHE-ECDSA-AES256-SHA384
- ECDHE-RSA-AES256-SHA384
https://docs.aws.amazon.com/elasticloadbalancing/latest/application/describe-ssl-policies.html#tls-security-policies
Also, improve/clean-up related test.
Co-authored-by: Vasilii Ermilov <[email protected]>
* Add subprocess-list-passed-as-string for Python (#3579)
* Add subprocess-list-passed-as-string for Python
subprocess.run and similar takes either a string or a sequence. Some calling code has a sequence, but converts it to string themselves. This is both unnecessary and insecure, as it removes the distinction between arguments. I.e. if arguments contain spaces or quotes this gives the wrong result.
* Update subprocess-list-passed-as-string.yaml
* Rename python/lang/security/subprocess-list-passed-as-string.py to python/lang/security/audit/subprocess-list-passed-as-string.py
* Rename python/lang/security/subprocess-list-passed-as-string.yaml to python/lang/security/audit/subprocess-list-passed-as-string.yaml
---------
Co-authored-by: Vasilii Ermilov <[email protected]>
Co-authored-by: Vasilii Ermilov <[email protected]>
* bump Ubuntu version in Github actions (#3593)
* bump Ubuntu version in Github actions
* bump setup-python version
* bump python versions in Github actions
* bump python versions in Github actions
---------
Co-authored-by: Reed Loden <[email protected]>
Co-authored-by: Vasilii Ermilov <[email protected]>
Co-authored-by: Sjoerd Langkemper <[email protected]>
Co-authored-by: Vasilii Ermilov <[email protected]>1 parent dadbe58 commit 6232b50
File tree
11 files changed
+114
-21
lines changed- .github/workflows
- python/lang/security/audit
- terraform/aws/security
11 files changed
+114
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
Lines changed: 42 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
Lines changed: 45 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
140 | 182 | | |
141 | 183 | | |
142 | 184 | | |
| |||
207 | 249 | | |
208 | 250 | | |
209 | 251 | | |
210 | | - | |
| 252 | + | |
211 | 253 | | |
212 | 254 | | |
213 | 255 | | |
214 | | - | |
215 | | - | |
| 256 | + | |
| 257 | + | |
216 | 258 | | |
217 | 259 | | |
218 | 260 | | |
| |||
0 commit comments