Commit graph

1122 commits

Author SHA1 Message Date
Reinier Criel
cba1fc36af
Adapt DockerFile 2025-12-15 10:50:52 +01:00
Reinier Criel
0d1283a0fc
Pipe output for better logging 2025-12-15 10:50:52 +01:00
Reinier Criel
fce81d8210
Better logging for e2e tests + allow buffering of logs 2025-12-15 10:50:52 +01:00
Sander Declerck
9fe6dccfca
Fix $env:USERPROFILE in pwsh script for unix 2025-12-15 10:50:51 +01:00
Sander Declerck
bd017d02e0
PR comments: handle unix on pwsh, update readme, rename variable in unix script 2025-12-15 10:50:51 +01:00
Sander Declerck
67d91c171a
Add uninstall scripts 2025-12-15 10:50:51 +01:00
Sander Declerck
8d5e8cc58f
Add tests for: not shortcircuiting timeout on imds endpoint. 2025-12-15 10:50:51 +01:00
Sander Declerck
11bd9b3c19
Only timeout for imds endpoints 2025-12-15 10:50:51 +01:00
Reinier Criel
7f1cbab717
Remove unnecessary change 2025-12-15 10:50:51 +01:00
Reinier Criel
c3244342e7
Fix test issue 2025-12-15 10:50:50 +01:00
Reinier Criel
d96cf7d14d
Fix linting issues 2025-12-15 10:50:50 +01:00
Reinier Criel
4210d00ac4
Fix tests 2025-12-15 10:50:50 +01:00
Reinier Criel
7b5a700655
Fix some issues 2025-12-15 10:50:50 +01:00
Reinier Criel
3de53e1f8a
Some fixes 2025-12-15 10:50:50 +01:00
Reinier Criel
f3b7847697
Add unit tests 2025-12-15 10:50:49 +01:00
Reinier Criel
ec22421bd9
Check input file 2025-12-15 10:50:49 +01:00
Reinier Criel
314001eb0c
Some improvements 2025-12-15 10:50:49 +01:00
Reinier Criel
02c30a2544
Combine NODE_EXTRA_CA_CERTS with Safe Chain's certificate bundle 2025-12-15 10:50:29 +01:00
Sander Declerck
09809d29bc
Refactor mocking in configFile.spec.js 2025-12-15 10:49:52 +01:00
Reinier Criel
fc5df6cd14
Merge pull request #238 from AikidoSec/feature/cleanup-shims
Cleanup shims at teardown
2025-12-15 01:36:19 -08:00
bitterpanda
6a00b623a8
Merge pull request #242 from AikidoSec/allow-0-min-package-age
Allow '0' for minimum package age setting.
2025-12-13 01:40:25 +01:00
Reinier Criel
f47cd7ebc0 Remove unused import 2025-12-12 12:07:06 -08:00
Reinier Criel
68180e5b44 Add more tests 2025-12-12 11:26:53 -08:00
Reinier Criel
a405a51706 Also remove script dir 2025-12-12 11:17:17 -08:00
Reinier Criel
7e88490bd1 Merge branch 'main' into feature/cleanup-shims 2025-12-12 08:03:12 -08:00
Sander Declerck
3d1e4b0489
Allow '0' for minimum package age setting. 2025-12-12 16:35:02 +01:00
Reinier Criel
5bab03991b
Merge pull request #236 from uriel-ecosia/uc-python-spawn
Fix `safe-chain python` exiting quietly
2025-12-12 07:26:18 -08:00
Sander Declerck
650dde4c84
Remove mac unit test runner 2025-12-12 15:51:48 +01:00
Uriel Corfa
cb9f3ee145
Do not rely on asynchronous import of child_process.
Importing child_process asynchronously causes loader errors when running the
binary dist:

$ ./dist/safe-chain python --safe-chain-logging=verbose
Safe-chain: Bypassing safe-chain for non-pip invocation: python
Failed to check for malicious packages: A dynamic import callback was not specified.
$

Relying on a regular import does not cause this issue. There is no obvious
reason for this import to be dynamic (in particular, there are no tests using
this to mock the spawn function), so let's simplify.
2025-12-12 09:09:52 +01:00
Uriel Corfa
db2c272aea
Add a unit test for shouldBypassSafeChain 2025-12-12 09:09:52 +01:00
Uriel Corfa
64d87ae1e1
Flush buffered logs before exiting 2025-12-12 09:09:50 +01:00
Reinier Criel
092df57695 Change order 2025-12-11 20:29:58 -08:00
Reinier Criel
2b0f8d9f0d Skeleton 2025-12-11 15:13:15 -08:00
bitterpanda
4623f3eff8
Merge pull request #237 from AikidoSec/feature/adjust-docker-logging
test(e2e): capture docker build output instead of ignoring it
2025-12-11 23:49:11 +01:00
Reinier Criel
df66863ae5 Some tweaks 2025-12-11 13:08:23 -08:00
Reinier Criel
a9a7a37f6a Fix flag 2025-12-11 10:57:18 -08:00
Reinier Criel
c385f9b371 Adapt DockerFile 2025-12-11 10:45:24 -08:00
Reinier Criel
2daddace31 Pipe output for better logging 2025-12-11 09:32:53 -08:00
Reinier Criel
7a9a6418a5 Better logging for e2e tests + allow buffering of logs 2025-12-11 09:06:50 -08:00
Reinier Criel
14bb6899d8
Merge pull request #223 from AikidoSec/feature/combine-certs
Combine cert with NODE_EXTRA_CA_CERTS if it already exists
2025-12-10 08:16:32 -08:00
Reinier Criel
bb44082d51 Merge branch 'main' into feature/combine-certs 2025-12-10 07:34:45 -08:00
Sander Declerck
2e212b950f
Merge pull request #231 from AikidoSec/uninstall-scripts
Add uninstall scripts
2025-12-10 14:16:29 +01:00
Sander Declerck
9c94fadfcc
Fix $env:USERPROFILE in pwsh script for unix 2025-12-10 13:55:08 +01:00
Sander Declerck
dace5f3845
PR comments: handle unix on pwsh, update readme, rename variable in unix script 2025-12-10 13:48:07 +01:00
galargh
833fa285aa feat: allow python custom registries configuration 2025-12-10 13:27:18 +01:00
Sander Declerck
1b5814ecc2
Add uninstall scripts 2025-12-10 09:54:15 +01:00
Reinier Criel
0b28cb8fdb Merge branch 'main' into feature/combine-certs 2025-12-09 14:31:05 -08:00
Sander Declerck
9444c7b4f6
Merge pull request #230 from AikidoSec/only-shortcircuit-timedout-imds-endpoints
Only short-circuit timed out imds endpoints
2025-12-09 16:38:30 +01:00
Sander Declerck
40650e7912
Add tests for: not shortcircuiting timeout on imds endpoint. 2025-12-09 15:46:37 +01:00
Sander Declerck
afc68618c6
Only timeout for imds endpoints 2025-12-09 15:25:19 +01:00