8000 GitHub - jardevbox/threat-agent-scan: Github action for scan repository using threat-agent
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

jardevbox/threat-agent-scan

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 

Repository files navigation

Threat Agent GitHub Action

GitHub action for scan repository using threat-agent docker image. Can be incorporated in GitHub workflow as a separate step or as a part of reusable workflow. See example below.

jobs:
  scan-repository:
    uses: threatrix/threat-agent-scan/.github/workflows/scan-repo-reusable.yaml@master

Required parameters for action:

  • eid - EntityID: from user profile
  • oid - OrganizationID from user profile
  • server-url - Threatrix API url
  • api-token - API Key: from user profile
  • scm-token: - SCM authorization token
  • app-name - Project Name
  • branch - Current branch

Required parameters for reusable workflow:

  • eid - EntityID: from user profile
  • oid - OrganizationID from user profile

This workflow requires to setup following secrets:

  • TOKEN - GitHub token for target repository
  • THREATRIX_SERVER_API_KEY - API Key: from user profile

Also, as an option, values for EID and OID can be passed as secrets.

  • THREATRIX_EID
  • THREATRIX_OID

About

Github action for scan repository using threat-agent

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0