INNER CODE UNIT · Python

remove

panther-labs/panther-analysis · .scripts/deleted_rules.py:57

def remove(
    api_token: Optional[str] = typer.Option(
        None, help="Panther API token", envvar="PANTHER_API_TOKEN"
    ),
    api_host: Optional[str] = typer.Option(
        None, help="Panther API host", envvar="PANTHER_API_HOST"
    ),
):
    """Delete the entries listed in deprecated.txt"""

    ids = list(get_deprecated_ids())

    logging.basicConfig(
        format="[%(levelname)s][%(name)s]: %(message)s",
        level=logging.INFO,
    )

    return_code, out = pat_delete.run(

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…