red-kite-solutions / stalker

Stalker, the Extensible Attack Surface Management tool.
https://wiki.stalker.red-kite.io/
GNU General Public License v3.0
78 stars 4 forks source link

W4 - 224 tagging resources from finding #282

Closed lm-sec closed 2 months ago

lm-sec commented 3 months ago

Closes #224

This pull request allows the tagging of resources from a finding through a TagFinding.

Using the python SDK, you can emit this finding for a website with the following code.

from stalker_job_sdk import log_finding, TagFinding

ip = '1.2.3.4'
domain = 'example.com'
port = 443
path = '/'
protocol='tcp'

log_finding(
    TagFinding(
        "Login", ip=ip, port=port, domainName=domain, path=path, protocol=protocol
    )
)