In Artifactory UI by navigating to the Admin tab | Artifactory | Advanced | Config Descriptor, then search for the <xrayConfig> tag and change "enabled" from "true" to "false" as shown below to resolve the issue of removing the Xray message.
<xrayConfig> <enabled>false</enabled> <baseUrl>http://localhost:8046/xray/</baseUrl> <user></user> <password></password> <artifactoryId>default</artifactoryId> <xrayId></xrayId> <allowDownloadsXrayUnavailable>false</allowDownloadsXrayUnavailable> <allowBlockedArtifactsDownload>false</allowBlockedArtifactsDownload> <blockUnscannedTimeoutSeconds>60</blockUnscannedTimeoutSeconds> </xrayConfig>
For more information, you may refer to this page.