Skip to content

d4vydm/Silverfort-API

Repository files navigation

Silverfort

Silverfort protects organizations from data breaches by delivering strong authentication across entire corporate networks and cloud environments, without requiring any modifications to endpoints or servers. Using patent-pending technology, Silverfort's agentless approach enables multi-factor authentication and AI-driven adaptive authentication even for systems that don’t support it today, including proprietary systems, critical infrastructure, shared folders, IoT devices, and more.

Goal

Use Silverfort API integration and log parsing to integratie with 3th party vendors.

One use case would be to trigger other systems based on the MFA information retrieved from the Silverfort logs.

Otherwise, we could insert risk indicators coming from 3th party vendors into Silverfort and update an entity risk. This feeds the risk-based engine in Silverfort and allows dynamic RBA behavior.

Python code files

sf_auth_api_wrapper.py

Silverfort authentication API wrapper provides a Python API wrapper for the Silverfort auth API

sf_riskengine_api_wrapper.py

Silverfort risk engine API wrapper provides a Python API wrapper for the Silverfort risk engine API

sf_log_parser.py

A Silverfort log parser which parses the output of a logstash instance. The logstash instance takes the Silverfort syslog and outputs a converted json. Configuration for logstash can be found in the logstash directory. Deployment of logstash is out of scope of this code.

Example config file

{
    "silverfort_risk_api": {
        "admin_uri": "",
        "api_key": "",
        "update_interval": 1
    },
    "silverfort_auth_api": {
        "node_uris": [ "", "" ],
        "mfa_api_user": "",
        "mfa_api_passw": ""
    }
}

Disclaimer

The code in this project tested with Silverfort version v3.5.11

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages