INNER CODE UNIT · Python

get_enabled_integrations_set

google/mcp-security · server/secops-soar/secops_soar_mcp/server.py:43

def get_enabled_integrations_set(integrations_arg: str) -> set:
    """Get the set of enabled integrations from the command line arguments.

    Args:
        args: Parsed command line arguments."""
    enabled_integrations_set = set()
    if integrations_arg:
        integration_list = [
            normalize_integration_name(name)
            for name in integrations_arg.split(",")
            if name.strip()
        ]
        if integration_list:
            enabled_integrations_set = set(integration_list)
            logger.info(
                "Found --integrations flag. Enabling only: %s", enabled_integrations_set
            )
            return enabled_integrations_set

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…