...
To create a new Repository Profile, click on the “New Profile” button, select a Type, and click “Create Profile”:
...
Adding a Repository
...
Type
Add your project’s base Repository URL when you create a Repository Profile. You will have the option to add a more specific file path when you create a Scripted or Postman checkcheck which utilizes the repository.
Adding a Github Repository
Add a base repository URL. You will add a more specific file path when you create a Postman or Scripted check - just add the desired repository profile with the format https://github.com/user/repository, as shown in the screenshot
...
In order to set up a GitHub repository, you will need to create a GitHub Personal Access Token from within Github itself. Perform the following steps to create and add a Github repository as a repository profile.
1. Create a New Github Repository or Use an Existing Repository
The repository can be public or private. It is recommended that you use a private repository as it will provide a higher GitHub token rate limit.
...
2. Create a Personal Access Token from Github Developer Settings
The Personal Access Token will grant ASM permission to access scripts which you’ve hosted on GitHub.
...
Click "Generate new token” and enter your GitHub password if prompted. It is recommended that you add a note to describe that you are using the personal access token for an Apica integration:
...
For this example, only we'll set no expiration because we don't want this token to expire, but you can set a token expiration date as your security policy requires.
Info |
---|
The token only requires the “repo” scope! |
Finally, click Generate token.
Note |
---|
Make sure to copy your personal access token now. You won't be able to see it again! |
3. Add Repository Profile in ASM
From within Profiles”the “Manage
Github | |||
HTTPIt is possible to store files on an HTTP server and retrieve them with HTTP Basic authentication. Enter the base path to the repository within the repository profile; you will add a more specific file path when you create a Postman or Scripted check. | |||
BitbucketFor Bitbucket Cloud/DC/Server Users enter the Bitbucket:
| |||
Azure DevOpsFor Azure DevOps Users enter the Azure DevOps:
|
|
Set Up a Repository File
Step | Screenshot |
---|---|
Step 1: Click the New Profile button | |
Step 2: Name the profile, select the repository type (e.g., GitHub) in the drop-down list provided, and click “Create Profile”. |