URLScan.io pipeline library for Flowpipe, enabling seamless integration of URLScan.io services into your workflows.
Download and install Flowpipe (https://flowpipe.io/downloads). Or use Brew:
brew tap turbot/tap
brew install flowpipeBy default, the following environment variables will be used for authentication:
URLSCAN_API_KEY
You can also create credential resources in configuration files:
vi ~/.flowpipe/config/urlscan.fpccredential "urlscan" "my_urlscan" {
api_key = "AKIA...2"
}For more information on credentials in Flowpipe, please see Managing Credentials.
mkdir my_mod
cd my_mod
flowpipe mod initInstall the URLScan.io mod as a dependency:
flowpipe mod install github.com/turbot/flowpipe-mod-urlscanUse the dependency in a pipeline step:
vi my_pipeline.fppipeline "my_pipeline" {
step "pipeline" "get_user_quota" {
pipeline = urlscan.pipeline.get_user_quota
}
}flowpipe pipeline run my_pipelineClone:
git clone https://github.com/turbot/flowpipe-mod-urlscan.git
cd flowpipe-mod-urlscanList pipelines:
flowpipe pipeline listRun a pipeline:
flowpipe pipeline run submit_url_scan --arg url="steampipe.io"To use a specific credential, specify the cred pipeline argument:
flowpipe pipeline run get_user_quota --arg cred=my_urlscanThis repository is published under the Apache 2.0 license. Please see our code of conduct. We look forward to collaborating with you!
Flowpipe is a product produced from this open source software, exclusively by Turbot HQ, Inc. It is distributed under our commercial terms. Others are allowed to make their own distribution of the software, but cannot use any of the Turbot trademarks, cloud services, etc. You can learn more in our Open Source FAQ.
Want to help but not sure where to start? Pick up one of the help wanted issues: