Skip to content

Latest commit

 

History

History
38 lines (22 loc) · 1.63 KB

File metadata and controls

38 lines (22 loc) · 1.63 KB

GitHub.com Available Seats

What it does

This Policy Template will get the total used/available seats for a GitHub.com Organization and create an incident if the number of available seats fall outside the policy's min and max parameters.

Input Parameters

  1. GitHub.com Organizations to check - Example: flexera
  2. Allowed Minimum Available Seats - Example: 10
  3. Allowed Maximum Available Seats - Example: 50
  4. Email addresses of the recipients you wish to notify - Example: noreply@example.com

Policy Actions

The following policy actions are taken on any resources found to be out of compliance.

  • Send an email report

Prerequisites

This policy uses credentials for connecting to the cloud -- in order to apply this policy you must have a credential registered in the system that is compatible with this policy. If there are no credentials listed when you apply the policy, please contact your cloud admin and ask them to register a credential that is compatible with this policy. The information below should be consulted when creating the credential.

Credential configuration

For administrators creating and managing credentials to use with this policy, the following information is needed:

Provider tag value to match this policy: github

Required permissions in the provider:

This policy requires permissions to access GitHub.com API as the Owner of the Organization(s).

Cost

This Policy Template does not launch any instances, and so does not incur any cloud costs.