From Artifactory SaaS versions 7.24.1 and higher, support for Composer 2.0 allows you to download Drupal version 7 and 8 files from remote repositories.
To define a remote repository to proxy Drupal files:
In the Administration module, select Repositories.
Select an existing Composer repository from the Remote list, or create a new remote Composer repository. For more information, see Create a Composer Repository.
On the Basic configuration tab. configure the following fields:
URL: Enter
https://ftp.drupal.org/.Registry URL: Enter
https://packages.drupal.org/.
Click Save.