This topic provides step-by-step instructions for setting up a personal Codespace for developing Cortex XSIAM content.
What are GitHub Codespaces?
GitHub Codespaces are cloud-based development environments provided by GitHub that allow you to set up remote environments with preinstalled and preconfigured tools and dependencies using a dev container.
Your Codespace environment is hosted on GitHub's servers (attached to your GitHub account), and allows you to access your Codespace from any computer.
Cost and limitations
GitHub offers a free quota for Codespaces (which is higher for GitHub Pro users) that you can utilize for developing Cortex XSIAM content.
The quota is calculated based on the number of hours your Codespace is actively running. You can see the free quota plan and options for additional paid usage after you reach your quota, in the GitHub documentation.
You will receive an automated email notification when you have used 75%, 90%, and 100% of your free quota. You can find information about your Codespaces quota usage in the GitHub settings under Billing and plans. For more information, see the GitHub article Viewing your GitHub Codespaces usage.
Note
Codespaces generated from the content repository (or a fork of it) are configured to have four cores by default.
Create a new Codespace
Log in to your GitHub account. If you do not have a GitHub account, you must create one before you can create a Codespace.
Enter the content repository.
Fork the repository to your account.
Click Fork at the top right.
Select your account as the owner, and leave the repository name as is.
Keep the Copy the master branch only option selected.
Create fork.
After a few seconds, you are redirected to your forked repository page.
Create a new branch on your fork, and give it a meaningful name.
Click Code, go to the Codespaces tab, and Create Codespace on \<branch name>.
If the message This Codespace is requesting additional permissions appears, Continue without authorizing.
Click New Codespace.
This may take a few minutes to complete.