Skip to content

Upload BOM using POST rather than PUT #454

@in-fke

Description

@in-fke

Due to possible hard size limitation in applications firewalls, I suggest to upload BOM using POST rather than PUT.
see https://learn.microsoft.com/en-us/azure/web-application-firewall/ag/application-gateway-waf-request-size-limits#limits

According to https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/azure-subscription-service-limits#azure-application-gateway-limits (its quite hidden), the maximum request body size for non-files is 2MB - and one could hit this limit if the bom is larger than 2MB (and easily hits the default limit of 128 KB).

Image

Current Source Code:
https://github.com/pmckeown/dependency-track-maven-plugin/blob/main/src/main/java/io/github/pmckeown/dependencytrack/upload/BomClient.java#L46

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions