Skip to content

Practical examples for using the StepSecurity API to answer real supply chain security questions

License

Notifications You must be signed in to change notification settings

step-security/api-use-cases

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

api-use-cases

Practical examples for using the StepSecurity API to answer real supply chain security questions.

Scenarios

This repository includes workflows that demonstrate how to use the StepSecurity API to solve real-world supply chain security challenges:

1. Check Baseline Endpoints

Workflow: .github/workflows/check-baseline-endpoints.yml

Identifies which repositories in an organization are using specific network endpoints. This is useful for:

  • Discovering dependencies on particular package registries (npm, PyPI, etc.)
  • Finding repos using specific CDNs or external services
  • Migration planning when moving to alternative endpoints (e.g., from npm to bun.sh)
  • Inventory management of external dependencies

2. Token Permissions Impact Analysis

Workflow: .github/workflows/token-permissions-impact-analysis.yml

Analyzes the impact of restricting GitHub Actions token permissions across an organization. This helps answer:

  • How many workflows lack explicit token permissions?
  • Which jobs would be affected by changing the default from write to read permissions?
  • What are the minimal required permissions for each job?
  • How to implement least-privilege access without breaking workflows

Both workflows output structured data that can be used for reporting, compliance tracking, and making informed security decisions.

About

Practical examples for using the StepSecurity API to answer real supply chain security questions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages