diff --git a/pkg/artifactory/resource_xray_policy.go b/pkg/artifactory/resource_xray_policy.go index 796fe269..87f7bf4d 100644 --- a/pkg/artifactory/resource_xray_policy.go +++ b/pkg/artifactory/resource_xray_policy.go @@ -450,6 +450,9 @@ func resourceXrayPolicyRead(d *schema.ResourceData, m interface{}) error { return err } + if err := d.Set("name", *policy.Name); err != nil { + return err + } if err := d.Set("type", *policy.Type); err != nil { return err }