Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/PagerDuty/automated-remediation-docs
PagerDuty's Automated Remediation Ops Guide Docs
https://github.com/PagerDuty/automated-remediation-docs
team-community
Last synced: 9 days ago
JSON representation
PagerDuty's Automated Remediation Ops Guide Docs
- Host: GitHub
- URL: https://github.com/PagerDuty/automated-remediation-docs
- Owner: PagerDuty
- License: apache-2.0
- Created: 2020-09-18T22:24:09.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-02-03T21:27:56.000Z (almost 2 years ago)
- Last Synced: 2024-05-08T12:32:00.678Z (6 months ago)
- Topics: team-community
- Language: Dockerfile
- Homepage: https://autoremediation.pagerduty.com
- Size: 5.68 MB
- Stars: 7
- Watchers: 10
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-cloud-security - PagerDuty Automated Remediation Docs
README
# PagerDuty Automated Remediation for Incident Response Documentation
[![Netlify Status](https://api.netlify.com/api/v1/badges/57a66052-97e1-4199-9631-fe3e696902d3/deploy-status)](https://app.netlify.com/sites/autoremediation-9ffcc6/deploys)
Automation is a primary tool for creating, deploying, and maintaining technical infrastructure. It is also useful for ensuring the reliability and repeatability of tasks used during the Incident Response and Remediation process. This guide contains a collection of tips and practices for creating, deploying, and maintaining useful automation for your technical environments.
You can view the documentation directly in this repository, or rendered as a website at https://autoremediation.pagerduty.com.
[![PagerDuty Automated Remediation for Incident Response](screenshot.png)](https://autoremediation.pagerduty.com)
## Development
We use [MkDocs](http://www.mkdocs.org/) to create a static site from this repository.### Native
For local development on your native device,1. Install [MkDocs](http://www.mkdocs.org/#installation). `pip install mkdocs`
1. Install [MkDocs PyMdown Extensions](https://squidfunk.github.io/mkdocs-material/extensions/pymdown/). `pip install pymdown-extensions`
1. Install [Pygments](https://pygments.org/) if you want syntax highlighting for any code examples. `pip install pygments`
1. Install the [PagerDuty MkDocs Theme](https://github.com/pagerduty/mkdocs-theme-pagerduty).
1. `git clone https://github.com/pagerduty/mkdocs-theme-pagerduty`
1. `cd mkdocs-theme-pagerduty & python3 setup.py install`
1. To test locally, run `mkdocs serve` from the project directory.
1. You can now view the website in your browser at `http://127.0.0.1:8000`. The site will automatically update as you edit the code.### Docker
For local development using Docker,1. Build the docker image and load it for immediate use. `docker build --load -t mkdocs .`
1. Run the container and pass through your current working directory. `docker run -v $(pwd):/docs -p 127.0.0.1:8000:8000 mkdocs`
1. You can now view the website in your browser at `http://127.0.0.1:8000`. The site will automatically update as you edit the code._Note: If you're using an Apple Silicon device, add `--platform linux/arm64/v8` to the `docker build` command to get a native Apple Silicon image. That will work faster than translating an arm64 image._
## Deploying
1. Run `mkdocs build --clean` to produce the static site for upload.
1. Upload the `site` directory to S3 (or wherever you would like it to be hosted).aws s3 sync ./site/ s3://[BUCKET_NAME] \
--acl public-read \
--exclude "*.py*" \
--delete## License
[Apache 2](http://www.apache.org/licenses/LICENSE-2.0) (See [LICENSE](LICENSE) file)## Contributing
Thank you for considering contributing! If you have any questions, just ask - or submit your issue or pull request anyway. The worst that can happen is we'll politely ask you to change something. We appreciate all friendly contributions.Here is our preferred process for submitting a pull request,
1. Fork it ( https://github.com/PagerDuty/automated-remediation-docs/fork )
1. Create your feature branch (`git checkout -b my-new-feature`)
1. Commit your changes (`git commit -am 'Add some feature'`)
1. Push to the branch (`git push origin my-new-feature`)
1. Create a new Pull Request.