{"id":28256940,"url":"https://github.com/github-samples/securing-your-code","last_synced_at":"2026-03-01T16:01:48.513Z","repository":{"id":290323796,"uuid":"973556297","full_name":"github-samples/securing-your-code","owner":"github-samples","description":"Securing your Code with GitHub workshop","archived":false,"fork":false,"pushed_at":"2025-05-12T18:00:34.000Z","size":25852,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-31T00:30:26.383Z","etag":null,"topics":["code-security","dependabot","dependency-graph","ghas","secrets-detection"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/github-samples.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":"threat-model.json","audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":"SUPPORT.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-27T08:41:35.000Z","updated_at":"2025-07-23T07:00:01.000Z","dependencies_parsed_at":"2025-06-17T12:44:52.426Z","dependency_job_id":null,"html_url":"https://github.com/github-samples/securing-your-code","commit_stats":null,"previous_names":["github-samples/securing-your-code"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/github-samples/securing-your-code","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github-samples%2Fsecuring-your-code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github-samples%2Fsecuring-your-code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github-samples%2Fsecuring-your-code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github-samples%2Fsecuring-your-code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/github-samples","download_url":"https://codeload.github.com/github-samples/securing-your-code/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github-samples%2Fsecuring-your-code/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29974321,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T15:41:30.362Z","status":"ssl_error","status_checked_at":"2026-03-01T15:37:07.343Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["code-security","dependabot","dependency-graph","ghas","secrets-detection"],"created_at":"2025-05-19T23:14:37.285Z","updated_at":"2026-03-01T16:01:48.477Z","avatar_url":"https://github.com/github-samples.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003ch1 align=\"center\"\u003eSecuring your code with GitHub\u003c/h1\u003e\n\n\u003ch5 align=\"center\"\u003e\u003ca href=\"https://github.com/joshjohanning\"\u003e@joshjohanning\u003c/a\u003e \u003ca href=\"https://github.com/mickeygousset\"\u003e@mickeygousset\u003c/a\u003e\n\u003ca href=\"https://github.com/writingpanda\"\u003e@writingpanda\u003c/a\u003e\n\u003ca href=\"https://github.com/felickz\"\u003e@felickz\u003c/a\u003e\n\u003ca href=\"https://github.com/tspascoal\"\u003e@tspascoal\u003c/a\u003e\n\u003c/h5\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#workshop-labs\"\u003eWorkshop Labs\u003c/a\u003e\n  \u003ca href=\"#book-resources\"\u003eResources\u003c/a\u003e\n\u003c/p\u003e\n\n- **Who is this for**: Enterprise - Engineering Leadership, Enterprise - Developers, Open Source Developers or Maintainers, Security Professionals, Startups, Security Leadership, Educators\n- **What you'll learn**: Here at GitHub, we like to say that \"found means fixed.\" That's because when issues are found they can more easily be fixed. In this workshop you'll dive into a repository filled with security alerts and begin to remediate them using GitHub Advanced Security (GHAS) and Dependabot, effectively maintaining code integrity. You'll also encounter and resolve a few security issues using Copilot Autofix. The end goal? To learn and develop strategies to motivate your developers to turn reactive fixes into proactive security habits.\n\n\nSee [requirements](_labs/requirements.md) to see what is needed to run this lab.\n\n---\n\n## Workshop Labs\n\n### Lab 1 - GitHub Advanced Security Feature Introduction\n\nThis lab will introduce you to GitHub Advanced Security (GHAS) and its features.\n\n- Get started here - [Lab 1](./_labs/lab1.md)\n\n---\n\n### Lab 2 - Reviewing and Managing Security Alerts\n\nThis lab will show you how to review and managed the alerts created in Lab 1.\n\n- Get started here - [Lab 2](./_labs/lab2.md)\n\n---\n\n### Lab 3 - Hands-on with Code Scanning\n\nThis lab will have you add some bad code, utilize repository rulesets to block the code, and Copilot Autofix to fix the code.\n\n- Get started here - [Lab 3](./_labs/lab3.md)\n\n---\n\n### Lab 4 - Hands-on with Dependency Review\n\nThis lab will have you utilize the Dependency Review action to stop a bad vulnerability in a pull request.\n\n- Get started here - [Lab 4](./_labs/lab4.md)\n\n---\n\n### Lab 5 - Hands-on with Secret Scanning\n\nThis lab will have you utilize Secret Scanning with Push Protection to prevent secrets from entering the codebase.\n\n- Get started here - [Lab 5](./_labs/lab5.md)\n\n---\n\n### Lab 6 - Hands-on with Security Overview\n\nThis lab will teach you how to effectively use the Security Overview to review and alerts and coverage in an organization.\n\n- Get started here - [Lab 6](./_labs/lab6.md)\n\n---\n\n\n### Extra Credit: Advanced CodeQL Setup\n\nThis open-ended extra credit lab will have you switch to the advanced CodeQL setup.\n\n- Get started here - [Extra Credit Lab 1](./_labs/lab7-ec.md)\n\n---\n\n### Extra Credit: Custom Patterns for Secret Scanning\n\nThis open-ended extra credit lab will have you create a custom secret scanning pattern.\n\n- Get started here - [Extra Credit Lab 2](./_labs/lab8-ec.md)\n\n---\n\n## :book: Resources\n\n- [GitHub Docs - About GitHub Advanced Security](https://docs.github.com/en/get-started/learning-about-github/about-github-advanced-security)\n- [GitHub Security Learning Pathway](https://resources.github.com/learn/pathways/security/)\n\n\n## License \n\n### Securing your code with GitHub\n\nThis project is licensed under the terms of the MIT open source license. Please refer to [MIT](./LICENSE) for the full terms.\n\n### OWASP Juice Shop\n\nThis lab uses and includes sample code from the OWASP Juice Shop project. The Juice Shop is Copyright (c) 2014-2024 Bjoern Kimminich \u0026 the OWASP Juice Shop contributors. Please refer to the [LICENSE](./LICENSE) for the full terms.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithub-samples%2Fsecuring-your-code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgithub-samples%2Fsecuring-your-code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithub-samples%2Fsecuring-your-code/lists"}