You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+35-3Lines changed: 35 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,8 @@
1
1
# Automated Security Helper - CHANGELOG
2
-
2
+
-[v2.0.0](#v200)
3
+
-[Breaking Changes](#breaking-changes)
4
+
-[Features](#features)
5
+
-[Fixes](#fixes)
3
6
-[v1.5.1](#v151)
4
7
-[What's Changed](#whats-changed)
5
8
-[v1.5.0](#v150)
@@ -15,8 +18,8 @@
15
18
-[What's Changed](#whats-changed-5)
16
19
-[New Contributors](#new-contributors-1)
17
20
-[1.3.0 - 2024-04-17](#130---2024-04-17)
18
-
-[Features](#features)
19
-
-[Fixes](#fixes)
21
+
-[Features](#features-1)
22
+
-[Fixes](#fixes-1)
20
23
-[Maintenance / Internal](#maintenance--internal)
21
24
-[1.2.0-e-06Mar2024](#120-e-06mar2024)
22
25
-[1.1.0-e-01Dec2023](#110-e-01dec2023)
@@ -25,6 +28,35 @@
25
28
-[1.0.5-e-06Mar2023](#105-e-06mar2023)
26
29
-[1.0.1-e-10Jan2023](#101-e-10jan2023)
27
30
31
+
## v2.0.0
32
+
33
+
### Breaking Changes
34
+
35
+
- Building ASH images for use in CI platforms (or other orchestration platforms that may require elevated access within the container) now requires targeting the `ci` stage of the `Dockerfile`:
36
+
37
+
_via `ash` CLI_
38
+
39
+
```sh
40
+
ash --no-run --build-target ci
41
+
```
42
+
43
+
_via `docker` or other OCI CLI_
44
+
45
+
```sh
46
+
docker build --tag automated-security-helper:ci --target ci .
47
+
```
48
+
49
+
### Features
50
+
51
+
- Run ASH as non-root user to align with security best practices.
52
+
- Create a CI version of the docker file that still runs as root to comply with the different requirements from building platforms where UID/GID cannot be modified and there are additional agents installed at runtime that requires elevated privileges.
53
+
54
+
### Fixes
55
+
56
+
- Offline mode now skips NPM/PNPM/Yarn Audit checks (requires connection to registry to pull package information)
57
+
- NPM install during image build now restricts available memory to prevent segmentation fault
Copy file name to clipboardExpand all lines: Dockerfile
+70-37Lines changed: 70 additions & 37 deletions
Original file line number
Diff line number
Diff line change
@@ -1,44 +1,30 @@
1
1
#checkov:skip=CKV_DOCKER_7: Base image is using a non-latest version tag by default, Checkov is unable to parse due to the use of ARG
2
-
#checkov:skip=CKV_DOCKER_3: ASH is focused on mounting source code into the container and scanning it, not running services. Setting USER breaks the ability for certain scanners to work correctly.
3
-
#
4
-
# Enable BASE_IMAGE as an overrideable ARG for proxy cache + private registry support
0 commit comments