-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Hello,
could someone be so kind as to help me create a simple Xray ignore rule linked to a build?
I have already tried several variants, but unfortunately I always get this error message.
I would be very grateful for working examples of an ignore rule linked to a build, or any advice on what might be wrong.
Thank you!
Error message
xray_ignore_rule.test_ignore_rule: Creating...
│ Error: Unable to Create Resource
│
│ with xray_ignore_rule.test_ignore_rule,
│ on xxxxxxx-ignore-rules.tf line 1, in resource "xray_ignore_rule" "test_ignore_rule":
│ 1: resource "xray_ignore_rule" "test_ignore_rule" {
│
│ An unexpected error occurred while creating the resource update request. Please report this issue to the provider developers.
│
│ Error:
Here is an example of my current configuration:
resource "xray_ignore_rule" "test_ignore_rule" {
notes = "xx not in xxxxx used"
vulnerabilities = ["any"]
build {
name = "build://[xxxx-build-info]/xxxx/xxxxxxx/xxxxx/xxx-xxxxxx"
version = "1764800"
}
}
OpenTofu used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
+ create
OpenTofu will perform the following actions:
# xray_ignore_rule.test_ignore_rule will be created
+ resource "xray_ignore_rule" "test_ignore_rule" {
+ author = (known after apply)
+ created = (known after apply)
+ id = (known after apply)
+ is_expired = (known after apply)
+ notes = "xx not in xxxxxxx used"
+ vulnerabilities = [
+ "any",
]
+ build {
+ name = "build://[xxxx-build-info]/xxxx/xxxxxxx/xxxxx/xxx-xxxxxx"
+ version = "1764800"
}
}
Plan: 1 to add, 0 to change, 0 to destroy.
Metadata
Metadata
Assignees
Labels
No labels