Skip to content

Commit

Permalink
feat(javaOpts): enable overriding Java options
Browse files Browse the repository at this point in the history
  • Loading branch information
portswigger-tim committed Feb 5, 2024
1 parent 1c86da6 commit a7b92fc
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/burpsuite/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: burpsuite
description: Scan it all. With the enterprise-enabled dynamic web vulnerability scanner.
type: application
version: 0.0.5-alpha.22
version: 0.0.6
kubeVersion: ">=1.24.0-0"
keywords:
- burpsuite
Expand Down
4 changes: 2 additions & 2 deletions charts/burpsuite/templates/enterprise/env-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ data:
{{- end }}
BSEE_INSTALLATION_ENVIRONMENT: {{ .Values.installationEnvironment }}
BSEE_RUN_MODE: {{ .Values.runMode }}
ENTERPRISE_SERVER_OPTS: -Xms1g -Xmx1g
BSEE_BURP_JAVA_OPTS: -Xms256m -Xmx256m
ENTERPRISE_SERVER_OPTS: {{ .Values.enterprise.serverJavaOpts }}
BSEE_BURP_JAVA_OPTS: {{ .Values.enterprise.burpJavaOpts }}
BSEE_HTTPS_KEYSTORE_LOCATION: /home/burpsuite/keystores/es.keystore
BSEE_HTTPS_PORT: "8072"
BSEE_LINUX_PREFS_STORE_PATH: /home/burpsuite/prefs
Expand Down
2 changes: 1 addition & 1 deletion charts/burpsuite/templates/web/env-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ data:
BSEE_INSTALLATION_ENVIRONMENT: {{ .Values.installationEnvironment }}
BSEE_RUN_MODE: {{ .Values.runMode }}
BSEE_SERVER_URL: "https://localhost:8072"
WEB_SERVER_OPTS: -Xms512m -Xmx512m
WEB_SERVER_OPTS: {{ .Values.web.serverJavaOpts }}
BSEE_CLIENT_KEYSTORE_LOCATION: /home/burpsuite/keystores/webserver.keystore
BSEE_CLIENT_TRUSTSTORE_LOCATION: /home/burpsuite/keystores/webserver.keystore
BSEE_DATA_PATH: /home/burpsuite/data
Expand Down
3 changes: 3 additions & 0 deletions charts/burpsuite/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ enterprise:
memory: 1.8Gi
phsmMaxConcurrentScan: 300
phsmMaxConcurrentConnectionChecks: 50
serverJavaOpts: -Xms1g -Xmx1g
burpJavaOpts: -Xms256m -Xmx256m

service:
name: ""
Expand Down Expand Up @@ -103,6 +105,7 @@ web:
cpu: 200m
memory: 1Gi
ipRangesAppUrl: https://ip-ranges.portswigger-dev.cloud
serverJavaOpts: -Xms512m -Xmx512m

## @section Ephemeral Agent settings
##
Expand Down

0 comments on commit a7b92fc

Please sign in to comment.