This is a package for asynchronous fetching data from Wallarm API
WALLARM_UUID WALLARM_SECRET WALLARM_APIrequirements.txt$ pip3 install -r requirements.txt
To get info about:
To create a rule:
To send raw requests to Splunk use generic function
splunk = SenderData(address='https://localhost:8088')
[await splunk.send_to_collector(rawhit, token='<token>', verify_ssl=False) for rawhit in raw_hits]
To get all vulnerabilities into results dictionary
vulns = asyncio.create_task(api_call.get_vuln())
results = await asyncio.gather(vulns)
To create a virtual patch to block access to the example.com/.git path
create_rule = asyncio.create_task(api_call.create_vpatch(instance='1', domain='example.com', action_name='.git'))
await asyncio.gather(*create_rule)
Content type
Image
Digest
Size
27.6 MB
Last updated
almost 6 years ago
docker pull awallarm/log-exporter