The On-Premise Malware Analysis may trigger the following alarms regarding MinIO storage usage:
- High Alarm: "On-Premises Sandbox MinIO storage usage is high." (Usage has reached >= 85% of the quota).
- Critical Alarm: "On-Premises Sandbox MinIO storage usage is critically high." (Usage has reached >= 95% of the quota).
Service Impact: when the CRITICAL alarm is active for the malware-analysis.malscape or the malware-analysis.scheduler buckets, the system automatically disables new malware analysis submissions.
SSP 5.2.0 and later and MPS activated with On-Premise Malware Analysis.
The On-Premise Malware Analysis monitors the storage usage of specific MinIO buckets (avbd, malware-analysis.malscape.*, malware-analysis.scheduler.*, and ullar).
The malware-analysis.malscape.* and malware-analysis.scheduler.* bucket quota is set to combined 500GB (536,870,912,000 bytes). The avbd bucket quota is set to 2GB (2,147,483,648) and the ullar bucket quota is set to 5GB (5,368,709,120 bytes).
When any of these quotas exceeds the 85% or 95% thresholds, the respective alarms are triggered.
To verify the exact usage, you can check the sa-scheduler-services pod logs for a detailed per-bucket usage breakdown.
To resolve these alarms it must first be identified which bucket quota is reaching the thresholds. Therefore, inspect the the sa-scheduler-services logs.
Note: The following commands must be run from the Security Services Platform Installer (SSPI) CLI. SSH into the SSPI appliance and use the built-in `k` alias to interact with kubernetes.
k logs -f deploy/sa-scheduler-services --since 30m | grep Minio
Output will look like this:
INFO [scheduling-1] c.v.n.s.a.MinioStorageMetricsClient: SECURITY [nsx@4413 comp="nsx-manager" level="INFO" subcomp="manager"] Malscape+scheduler combined usage: 19 + 8938008 = 8938027 bytes / 536870912000 bytes (0.00%)
INFO [scheduling-1] c.v.n.s.a.MinioStorageMetricsClient: SECURITY [nsx@4413 comp="nsx-manager" level="INFO" subcomp="manager"] Ullar bucket ('ullar') usage: 49711848 bytes / 5368709120 bytes = 0.93%
INFO [scheduling-1] c.v.n.s.a.MinioStorageMetricsClient: SECURITY [nsx@4413 comp="nsx-manager" level="INFO" subcomp="manager"] AVBD bucket ('avbd') usage: 0 bytes / 2147483648 bytes = 0.00%
Resolving Alarms for Malscape + Scheduler combined quota reached:
If the combined quota for the Malscape and Scheduler buckets are reached, there are three different actions possible to resolve the alarms:
1. Decrease the amount of file analysis
2. Reduce Retention
3. Increase Storage Size
Option 1: Decrease the amount of file analysis:
To reduce the volume of new analysis data being stored, refer to the Malware Prevention Services (MPS) documentation for instructions on configuring which files to capture:
- Use the File Exclusion Filter: You can define specific directory paths (e.g., `C:\Windows\Temp\`) or file extensions (e.g., `.log`, `.vmdk`) to be explicitly excluded from analysis (see documentation at Filter Malware Exclusions). This minimizes unnecessary scanning of trusted or noisy applications.
- Refine Policy Configuration: Reduce the capture of files by narrowing the environments/VMs from which files are collected (see documentation Add Rules for Distributed Malware Prevention), or by reducing the specific file types that are configured for capture in your MPS profiles (see documentation Add a Malware Prevention Profile).
- Reduce Submission Rate Limits: Malware analysis can be configured to accept fewer submissions at a more granular level by tweaking the rate-limiting parameters in the `malware-analysis-api` deployment.
For convenience, you can run a bash script on the SSPI appliance to safely read and update these limits.
1. Download the script `update_mps_submission_rate_limits.sh` and copy to SSPI CLI:
2. Make the script executable:
chmod +x update_mps_submission_rate_limits.sh
3. Run the script without arguments to view the current configuration (append `--ssp <instance_name>` if needed):
./update_mps_submission_rate_limits.sh
Output example:
$ ./update_mps_submission_rate_limits.sh
=== Current Submission Rate Limits ===
submission_rate_limiting:
enabled: true
rate: "42r/m"
burst: 1260
zone_size: "64k"
=== Usage ===
To apply new limits, run the script with <NEW_RATE> and <NEW_BURST>:
./update_mps_submission_rate_limits.sh <NEW_RATE> <NEW_BURST> [--ssp <instance_name>]
Example (Rate: 20r/m, Burst: 600): ./update_mps_submission_rate_limits.sh 20r/m 600
Malware analysis submissions go through NGINX, which enforces the constant `rate` of submission strictly, but uses the `burst` queue to absorb instantaneous spikes.
4. Run the script with your desired limits to update them (append `--ssp <instance_name>` if needed, for example, set <NEW_RATE> to `20r/m` and <NEW_BURST> to `600`):
./update_mps_submission_rate_limits.sh <NEW_RATE> <NEW_BURST>
Option 2: Reduce Retention:
Retention for malware analysis data is controlled by two settings in the malware-prevention API spec, under data_retention_params:
- file_retention_duration
- report_retention_duration
Both default to 7 days and can be reduced to a minimum of 1 day (maximum 365).
Note: The PUT endpoint replaces the entire configuration object - any field you omit is reset to its default, not left as-is. Always GET the current config first and PUT it back in full with only the retention values changed.
1. Fetch the current configuration (requires an enterprise_admin account):
curl -u "<username>:<password>" \
https://<ssp-host>/ssp/lcm/malware-prevention/config
Example response:
{
"_revision": 3,
"analysis_mode": "ON_PREM",
"data_retention_params": {
"file_retention_duration": 7,
"report_retention_duration": 7
}
}2. PUT back the full config with the updated retention values. Copy _revision and analysis_mode verbatim from the GET response above (and cloud_file_sharing_params too, if present in your response) - do not omit them:
curl -u "<username>:<password>" \
-X PUT \
-H "Content-Type: application/json" \
https://<ssp-host>/ssp/lcm/malware-prevention/config \
-d '{
"_revision": 3,
"analysis_mode": "ON_PREM",
"data_retention_params": {
"file_retention_duration": 1,
"report_retention_duration": 1
}
}'
A successful request returns 202 Accepted with an async status URL. Poll it to confirm completion:
curl -u "<username>:<password>" \
https://<ssp-host>/ssp/lcm/malware-prevention/config/status
Common errors:
- 412 Precondition Failed — _revision is stale (someone else changed the config since your GET; re-fetch and retry).
- 428 Precondition Required — _revision was omitted from the PUT body.
- 400 Bad Request — a retention value outside 1–365 days, or analysis_mode resolved to CLOUD (retention only applies in ON_PREM mode).
Note: Shortening retention reduces the amount of historical data kept in the Malscape/Scheduler buckets, freeing space over time.
Option 3: Increase Storage Size:
This requires two changes, since the alarm's reporting threshold and the actual MinIO storage pool are separate:
1. Resize the available MinIO storage pool via the SSP UI:
2. Increase the alarm's logical quota. Use the following script to raise the storage quota that the alarm is measured against, for the combined malscape/scheduler bucket or for the avbd/ullar buckets individually. The script updates the configuration and restarts the affected service automatically - no manual editing required.
Note: Run the script update-minio-alarm-quota.sh from the SSPI CLI:
./update-minio-alarm-quota.sh combined <new_quota_in_bytes> # combined malscape+scheduler quota
./update-minio-alarm-quota.sh ullar <new_quota_in_bytes> # ullar bucket quota
./update-minio-alarm-quota.sh avbd <new_quota_in_bytes> # avbd bucket quota
For example, to raise the combined quota to 700GB:
./update-minio-alarm-quota.sh combined 700000000000
The alarm will use the new quota once the script completes.
Resolving Alarms for avbd or ullar bucket quota reached:
The ullar and avbd buckets should not reach their quota due to data retention mechanisms by the ULLAR cronjob that delete outdated data. If it still happens, the contents of the ullar and avbd bucket can simply be deleted and the next ULLAR cronjob execution will populate the latest updates to the bucket after at most 15 minutes.
1. Download the script `empty_minio_bucket.sh` onto SSPI:
2. Make the script executable:
chmod +x empty_minio_bucket.sh
3. Run the script with ullar or avbd as argument to reset the respective bucket:
./empty_minio_bucket.sh [ullar|avbd]