1. We can enable this configuration from the Artifactory config descriptor. Navigate to
Administration > Artifactory > Advanced > Config Descriptor and find the </addon> add the
below block to enable Xray configuration.

2. Save the above configuration.
3. Restart Artifactory (for high availability setup a rolling restart is required).
4. Try saving the Xray settings again, we should be able to enable Xray now.
Administration > Artifactory > Advanced > Config Descriptor and find the </addon> add the
below block to enable Xray configuration.
<xrayConfig> <enabled>true</enabled> <baseUrl>http://localhost:8046/xray/</baseUrl> <user></user> <password></password> <artifactoryId>default</artifactoryId> <xrayId></xrayId> <allowDownloadsXrayUnavailable>true</allowDownloadsXrayUnavailable> <allowBlockedArtifactsDownload>false</allowBlockedArtifactsDownload> <blockUnscannedTimeoutSeconds>60</blockUnscannedTimeoutSeconds> </xrayConfig>
2. Save the above configuration.
3. Restart Artifactory (for high availability setup a rolling restart is required).
4. Try saving the Xray settings again, we should be able to enable Xray now.