Skip to content

Commit

Permalink
Fix some shenanigans with core tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TheophileDiot committed Jun 24, 2024
1 parent 73e2316 commit d4dc3da
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 21 deletions.
2 changes: 1 addition & 1 deletion tests/core/blacklist/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ services:
environment:
AS_NUMBER: ""
networks:
bw-docker:
bw-universe:
bw-services:
ipv4_address: 192.168.0.4

Expand Down
2 changes: 1 addition & 1 deletion tests/core/bunkernet/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ services:
bunkernet-api:
build: api
networks:
bw-docker:
bw-universe:
bw-services:
ipv4_address: 1.0.0.4

Expand Down
1 change: 0 additions & 1 deletion tests/core/bwcli/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ services:
pull_policy: never
depends_on:
- bw
- bw-docker
labels:
- "bunkerweb.SCHEDULER=yes"
environment:
Expand Down
2 changes: 1 addition & 1 deletion tests/core/greylist/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ services:
environment:
AS_NUMBER: ""
networks:
bw-docker:
bw-universe:
bw-services:
ipv4_address: 192.168.0.4

Expand Down
5 changes: 2 additions & 3 deletions tests/core/headers/docker-compose.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,12 @@ services:
GENERATE_SELF_SIGNED_SSL: "no"
CUSTOM_HEADER: ""
REMOVE_HEADERS: "Server X-Powered-By X-AspNet-Version X-AspNetMvc-Version"
STRICT_TRANSPORT_SECURITY: "max-age=31536000"
STRICT_TRANSPORT_SECURITY: "max-age=31536000; includeSubDomains; preload"
COOKIE_FLAGS: "* HttpOnly SameSite=Lax"
COOKIE_AUTO_SECURE_FLAG: "yes"
CONTENT_SECURITY_POLICY: "object-src 'none'; form-action 'self'; frame-ancestors 'self';"
REFERRER_POLICY: "strict-origin-when-cross-origin"
PERMISSIONS_POLICY: "accelerometer=(), ambient-light-sensor=(), autoplay=(), battery=(), camera=(), cross-origin-isolated=(), display-capture=(), document-domain=(), encrypted-media=(), execution-while-not-rendered=(), execution-while-out-of-viewport=(), fullscreen=(), geolocation=(), gyroscope=(), hid=(), idle-detection=(), magnetometer=(), microphone=(), midi=(), navigation-override=(), payment=(), picture-in-picture=(), publickey-credentials-get=(), screen-wake-lock=(), serial=(), usb=(), web-share=(), xr-spatial-tracking=()"
FEATURE_POLICY: "accelerometer 'none'; ambient-light-sensor 'none'; autoplay 'none'; battery 'none'; camera 'none'; display-capture 'none'; document-domain 'none'; encrypted-media 'none'; execution-while-not-rendered 'none'; execution-while-out-of-viewport 'none'; fullscreen 'none'; geolocation 'none'; gyroscope 'none'; layout-animation 'none'; legacy-image-formats 'none'; magnetometer 'none'; microphone 'none'; midi 'none'; navigation-override 'none'; payment 'none'; picture-in-picture 'none'; publickey-credentials-get 'none'; speaker-selection 'none'; sync-xhr 'none'; unoptimized-images 'none'; unsized-media 'none'; usb 'none'; screen-wake-lock 'none'; web-share 'none'; xr-spatial-tracking 'none';"
PERMISSIONS_POLICY: "accelerometer=(), ambient-light-sensor=(), attribution-reporting=(), autoplay=(), battery=(), bluetooth=(), browsing-topics=(), camera=(), compute-pressure=(), display-capture=(), document-domain=(), encrypted-media=(), execution-while-not-rendered=(), execution-while-out-of-viewport=(), fullscreen=(), gamepad=(), geolocation=(), gyroscope=(), hid=(), identity-credentials-get=(), idle-detection=(), local-fonts=(), magnetometer=(), microphone=(), midi=(), otp-credentials=(), payment=(), picture-in-picture=(), publickey-credentials-create=(), publickey-credentials-get=(), screen-wake-lock=(), serial=(), speaker-selection=(), storage-access=(), usb=(), web-share=(), window-management=(), xr-spatial-tracking=()"
X_FRAME_OPTIONS: "SAMEORIGIN"
X_CONTENT_TYPE_OPTIONS: "nosniff"
X_XSS_PROTECTION: "1; mode=block"
Expand Down
4 changes: 2 additions & 2 deletions tests/core/headers/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ services:
# ? HEADERS settings
CUSTOM_HEADER: ""
REMOVE_HEADERS: "Server X-Powered-By X-AspNet-Version X-AspNetMvc-Version"
STRICT_TRANSPORT_SECURITY: "max-age=31536000"
STRICT_TRANSPORT_SECURITY: "max-age=31536000; includeSubDomains; preload"
COOKIE_FLAGS: "* HttpOnly SameSite=Lax"
COOKIE_AUTO_SECURE_FLAG: "yes"
CONTENT_SECURITY_POLICY: "object-src 'none'; form-action 'self'; frame-ancestors 'self';"
REFERRER_POLICY: "strict-origin-when-cross-origin"
PERMISSIONS_POLICY: "accelerometer=(), ambient-light-sensor=(), autoplay=(), battery=(), camera=(), cross-origin-isolated=(), display-capture=(), document-domain=(), encrypted-media=(), execution-while-not-rendered=(), execution-while-out-of-viewport=(), fullscreen=(), geolocation=(), gyroscope=(), hid=(), idle-detection=(), magnetometer=(), microphone=(), midi=(), navigation-override=(), payment=(), picture-in-picture=(), publickey-credentials-get=(), screen-wake-lock=(), serial=(), usb=(), web-share=(), xr-spatial-tracking=()"
PERMISSIONS_POLICY: "accelerometer=(), ambient-light-sensor=(), attribution-reporting=(), autoplay=(), battery=(), bluetooth=(), browsing-topics=(), camera=(), compute-pressure=(), display-capture=(), document-domain=(), encrypted-media=(), execution-while-not-rendered=(), execution-while-out-of-viewport=(), fullscreen=(), gamepad=(), geolocation=(), gyroscope=(), hid=(), identity-credentials-get=(), idle-detection=(), local-fonts=(), magnetometer=(), microphone=(), midi=(), otp-credentials=(), payment=(), picture-in-picture=(), publickey-credentials-create=(), publickey-credentials-get=(), screen-wake-lock=(), serial=(), speaker-selection=(), storage-access=(), usb=(), web-share=(), window-management=(), xr-spatial-tracking=()"
X_FRAME_OPTIONS: "SAMEORIGIN"
X_CONTENT_TYPE_OPTIONS: "nosniff"
X_XSS_PROTECTION: "1; mode=block"
Expand Down
Loading

0 comments on commit d4dc3da

Please sign in to comment.