Verdict-as-a-Service (VaaS) is a service that provides a platform for scanning files for malware and other threats. It allows easy integration in your application. With a few lines of code, you can start scanning files for malware.
Scans a file for malware and other threats. See the docs here
Write Python and use any of the 350k+ PyPi packages available. Refer to the Pipedream Python docs to learn more.
Verdict as a Service (VaaS) API provides a powerful interface for automating the analysis of files and URLs for potential threats. Leveraging the capabilities of Pipedream, users can create sophisticated workflows that trigger actions based on the results of the threat analysis. From email attachments to submitted URLs, VaaS can be integrated into a variety of security and data processing pipelines to ensure safety and compliance.
import Vaas from "gdata-vaas";
export default defineComponent({
props: {
verdict_as_a_service: {
type: "app",
app: "verdict_as_a_service",
}
},
async run({steps, $}) {
// create vaas client
const vaas = await createVaasWithClientCredentialsGrant(
CLIENT_ID,
CLIENT_SECRET,
TOKEN_URL,
VAAS_URL
);
// request verdict for file
const verdict = await vaas.forFile(response.data);
if (verdict === "Malicious") {
console.log("This was malware.");
}
},
})
Develop, run and deploy your Python code in Pipedream workflows. Integrate seamlessly between no-code steps, with connected accounts, or integrate Data Stores and manipulate files within a workflow.
This includes installing PyPI packages, within your code without having to manage a requirements.txt
file or running pip
.
Below is an example of using Python to access data from the trigger of the workflow, and sharing it with subsequent workflow steps:
def handler(pd: "pipedream"):
# Reference data from previous steps
print(pd.steps["trigger"]["context"]["id"])
# Return data for use in future steps
return {"foo": {"test":True}}