Descriptor:
  Name: GitHub Advanced Security for GitHub Organizations 
  DisplayName: GitHub Advanced Security for GitHub Organizations (Community release)
  Description: Skills to retrieve code scanning, secret scanning and dependabot results (alerts) executed by GitHub Advanced Security (GhAS)
      on all the repositories of a specified GitHub organization 

  Settings:
    - Name: GitHubOrganizationUrl
      Label: Git Hub API URL for Organizations
      Description: The URL of the GitHub API for accessing your Organization. Specify the name of your Organization.
      HintText: "https://api.github.com/orgs/MyOrganizationName"
      DefaultValue: "https://api.github.com/orgs/<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-Org-Specification.yaml
      EndpointUrlSettingName: GitHubOrganizationUrl
