Official repository to the Security Frameworks by SEAL. This repository contains the entire structure and contents of the frameworks. Feel free to suggest from new categories to grammar corrections. Collaboration is open to everyone. This is a work in progress.
If you want to know more about the frameworks or take a peek at the live book go to the following branches: Main, Development.
gh repo clone security-alliance/frameworks
git checkout develop
cargo install mdbook mdbook-admonish
./serve.sh
There are currently several ways to collaborate:
- Using the "Suggest an edit" button on any page to make quick edits
- Contributing to a specific framework through its dedicated branch
- Forking the repository and creating a pull request to the develop branch
- Commenting directly on the deployed version
⚠️ Please sign and verify every commit.
Before contributing, check if there's a Steward for the specific framework you're interested in, and reach out. We usually have separate branches pre-develop for frameworks with stewards.
The naming convention is fw_framework_name
, for example fw_opsec
, fw_community_mgmt
. Ideally, you'll fork these framework-specific branches, as they typically have more updated information than what's available in the develop branch.
After making your changes:
- Submit a PR to the framework-specific branch and let the steward know
- After reviews, a PR can be submitted from the framework branch to the develop branch
If there's no specific branch created, that framework is still "headless," which means you can become its steward! See more in the Stewards section.
To comment on the live version of the book under development, you will need to log in to your Vercel account. Please visit this link, which includes a read access token. A floating window will appear at the bottom, and you'll be ready to go.
- Fork the repository. Click on the "Fork" button at the top right corner of the page.
- Clone the forked repository to your local machine. Open your terminal or command prompt.
git clone https://github.com/your-username/frameworks.git
- Check if there's a framework-specific branch you should be working on. If yes, use that branch instead of develop.
- Otherwise, make sure you're in the develop branch:
git checkout develop
- Inside the folder create a new branch based on the appropriate branch:
git checkout -b your-feature-branch
- Make your changes.
- If adding new pages, consider adding appropriate tags in the frontmatter. Example:
---
tags:
- Engineer/Developer
- Security Specialist
- Devops
- SRE
---
- If adding significant content, add attribution using the contributors system (see using-contributors.md).
- Make sure your changes don't break anything by testing it in the local setup:
./serve.sh
- Commit your changes:
git add .
- Commit the changes with a descriptive message:
git commit -S -m "Fixing typos and improving readability on XXX section"
- Push the changes to your forked repository:
git push origin your-feature-branch
- Create a pull request. Go to your forked repository on GitHub. You should see a "Compare & pull request" button. Click on it. Provide a descriptive title and description for your pull request.
- Click on the "Create pull request" button.
- Wait for review. Once your pull request is approved, and no more changes are needed, we will merge it into the appropriate branch.
- Congratulations! Your changes are now part of the security frameworks!
Editors merge PRs and push suggestions to the main branch which will be reflected on the live book.
git checkout main
git fetch origin develop
git merge origin/develop
- Manually merge files, solve conflicts and add a description.
- Using the
serve.sh
script instead of mdBookserve
command is needed to be able to see properly the local deployment.