Skip to content

GDATASoftwareAG/github-gdata-antivirus

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

github-gdata-antivirus

This is a github action with that one can scan changes in pull-requests with the G DATA product Verdict-as-a-Service (VaaS). VaaS is an Antivirus in the cloud, that can be utilized by a simple api.

preconditions

Before you can use this action, you need to aquire credentials. Please find more Information on the Verdict-as-a-Service product page. If you want to test VaaS on your own, you can get credentials on our registration page

usage

- name: Github G DATA Antivirus
  uses: GDATASoftwareAG/github-gdata-antivirus@1.0.0     
  with:
    # You either need VAAS_CLIENT_ID (get in contact with us) or a VAAS_USERNAME (use the self registration (trial))
    # The CLIENT_ID is the only mendatory variable
    VAAS_CLIENT_ID: "some-id"
    # A CLIENT_SECRET is only required when you got in contact with us
    VAAS_CLIENT_SECRET: "some-secret"
    # The USERNAME can be optained on our registration page
    VAAS_USERNAME: "some-username"
    # The PASSWORD can be optained on our registration page
    VAAS_PASSWORD: "some-password"
    # You can point the VAAS_URL to a self-hosted version of VaaS. If you need that, please get in contact with us.
    VAAS_URL: "wss://gateway.production.vaas.gdatasecurity.de/"
    # This is the token-endpoint of VaaS. For self-hosted versions, you need to change this url too.
    VAAS_TOKEN_URL: "https://account.gdata.de/realms/vaas-production/protocol/openid-connect/token"

scenarios

Self-Registered Credentials

- name: Github G DATA Antivirus
  uses: GDATASoftwareAG/github-gdata-antivirus@1.0.0
  with:
    VAAS_USERNAME: "some-username"
    VAAS_PASSWORD: "some-password"

Got a CLIENT_SECRET from us

- name: Github G DATA Antivirus
  uses: GDATASoftwareAG/github-gdata-antivirus@1.0.0
  with:
    VAAS_CLIENT_ID: "some-id"
    VAAS_CLIENT_SECRET: "some-secret"

For on Premise VaaS installations

- name: Github G DATA Antivirus
  uses: GDATASoftwareAG/github-gdata-antivirus@1.0.0
  with:
    VAAS_CLIENT_ID: "some-id"
    VAAS_CLIENT_SECRET: "some-secret"
    VAAS_URL: "wss://myselfhostedvaas/"
    VAAS_TOKEN_URL: "https://myselfhostedidentityprovider/realms/vaas/protocol/openid-connect/token"