Skip to content

Programmatic Execution

  1. Ensure the Google command line tool is installed on your local system. Reference Google maintained documentation for instructions on installing gcloud cli
  2. Authenticate to Google Cloud Project which DeRF is deployed.
    gcloud auth login --project PROJECT-ID
    
  3. Invoke a particular attack techniques' workflow with the gcloud cli. See Google documentation for more comprehensive instructions on the workflows service.

    AWS

    gcloud workflows run WORKFLOW-NAME `--data={"user": "user01"}` 
    

    GCP

    gcloud workflows run WORKFLOW-NAME `--data={"sa": "01"}`