You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're finding that users are trying to specify path prefixes with the host parameter (e.g. -H on the CLI), such as https://mydeployment.example.com/v1.
At a minimum:
We need a way to allow the user to specify path prefixes as they tell Syft where their deployment is located (we should not assume that the user's API is deployed at a root path for a hostname).
We need to ensure users have a smooth interaction with Anchore Enterprise by default.
The text was updated successfully, but these errors were encountered:
This is a combination of a specific ingress config (combined UI and API, which isn't required, you can use 2 ingresses), and Anchore's service path optimization that makes /v1/ optional by rewriting /v1/ as a prefix internally. The API definition itself is versioned with /v1 prefix for that version of the API.
But supporting arbitrary prefixes on the routes will help general compatibility with various ingress/routing options between the system and syft.
This means that Syft's import feature does not work with the standard way we deploy Enterprise via Helm, where the API paths should be prefixed with
/v1/
. For details on the chart config, see https://github.com/anchore/anchore-charts/blob/8ff7bc108290ce07a6f2d92db5aa1be11985dc23/stable/anchore-engine/templates/enterprise_ui_configmap.yaml#L20We're finding that users are trying to specify path prefixes with the host parameter (e.g.
-H
on the CLI), such ashttps://mydeployment.example.com/v1
.At a minimum:
The text was updated successfully, but these errors were encountered: