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
Describe the bug
Creating a xray_repository_config for a nuget-remote repository with
resource"artifactory_remote_nuget_repository""nuget-remote" {
key="nuget-remote"description="Enthält alle NuGet-Pakete von NuGet.org"url="https://www.nuget.org/"download_context_path="api/v2/package"curated=truexray_index=trueforce_nuget_authentication=truev3_feed_url="https://api.nuget.org/v3/index.json"symbol_server_url="https://symbols.nuget.org/download/symbols"
}
resource"xray_repository_config""xray-repo-config-nuget-remote" {
repo_name=artifactory_remote_nuget_repository.nuget-remote.keyjas_enabled=trueconfig {
vuln_contextual_analysis=falseretention_in_days=180exposures {
scanners_category {
# nuget remote repos only support secret scannerssecrets=true
}
}
}
}
fails with
╷
│ Error: Unable to Create Resource
│
│ with xray_repository_config.xray-repo-config-nuget-remote,
│ on nuget-artifact-repos.tf line 17, in resource "xray_repository_config" "xray-repo-config-nuget-remote":
│ 17: resource "xray_repository_config" "xray-repo-config-nuget-remote" {
│
│ An unexpected error occurred while creating the resource update request.
│ Please report this issue to the provider developers.
│
│ Error: {"error":"Request payload is invalid as exposure analysis config is
│ missing"}
A fully functioning terraform snippet that can be copy&pasted (no outside files or ENV vars unless that's part of the issue)
Your version of Artifactory and Xray (you can curl Artifactory version at $host/artifactory/api/system/version and Xray version at $host/xray/api/v1/system/version
Your version of terraform
Expected behavior
I expect to be able to create a xray_repository_config for nuget repositories. For npm repositories it works as it is supposed to.
The text was updated successfully, but these errors were encountered:
Describe the bug
Creating a xray_repository_config for a nuget-remote repository with
fails with
Terraform version: 1.2.3
Xray Provider Version: 2.13.2
Artifactory Version: 7.100.2 revision: 80002900
Xray Version: 3.106.7 revision: 3fc2909
Requirements for and issue
curl
Artifactory version at$host/artifactory/api/system/version
and Xray version at$host/xray/api/v1/system/version
Expected behavior
I expect to be able to create a xray_repository_config for nuget repositories. For npm repositories it works as it is supposed to.
The text was updated successfully, but these errors were encountered: