Descriptor:
  Name: GitHub Advanced Security for GitHub Repositories 
  DisplayName: GitHub Advanced Security for GitHub Repositories (Community release)
  Description: Skills to retrieve code scanning, secret scanning and dependabot results (alerts) executed by GitHub Advanced Security (GhAS)
      on the specified GitHub repository 

  Settings:
    - Name: GitHubOrganizationUrlForRepos
      Label: Git Hub Organization API URL for Repository
      Description: The URL of the GitHub API for accessing the Repositories of your Organization. Specify the name of your Organization.
      HintText: "https://api.github.com/repos/MyOrganizationName"
      DefaultValue: "https://api.github.com/repos/<InsertYourOrganizationNameHere>"
      SettingType: String
      Required: true

  SupportedAuthTypes:
    - ApiKey
  Authorization:
    Type: APIKey
    Key: Authorization
    Location: Header
    AuthScheme: 'Bearer'

SkillGroups:
  - Format: API
    Settings:
      OpenApiSpecUrl: https://raw.githubusercontent.com/Azure/Copilot-For-Security/main/Plugins/Community%20Based%20Plugins/GitHub%20Advanced%20Security%20Custom%20Plugin%20Scenarios/GitHubAdvancedSecurity-CustomPlugins/GitHubAdvancedSecurityPlugin-Repo-CodeScanning-Specification.yaml
      EndpointUrlSettingName: GitHubOrganizationUrlForRepos
  - Format: API
    Settings:
      OpenApiSpecUrl: https://raw.githubusercontent.com/Azure/Copilot-For-Security/main/Plugins/Community%20Based%20Plugins/GitHub%20Advanced%20Security%20Custom%20Plugin%20Scenarios/GitHubAdvancedSecurity-CustomPlugins/GitHubAdvancedSecurityPlugin-Repo-SecretScanning-Specification.yaml
      EndpointUrlSettingName: GitHubOrganizationUrlForRepos
  - Format: API
    Settings:
      OpenApiSpecUrl: https://raw.githubusercontent.com/Azure/Copilot-For-Security/main/Plugins/Community%20Based%20Plugins/GitHub%20Advanced%20Security%20Custom%20Plugin%20Scenarios/GitHubAdvancedSecurity-CustomPlugins/GitHubAdvancedSecurityPlugin-Repo-DependabotScanning-Specification.yaml
      EndpointUrlSettingName: GitHubOrganizationUrlForRepos
                      
