# retoor <retoor@molodetz.nl>


def _audit_cli(event_key, summary, metadata=None, target_type=None, target_uid=None, target_label=None, links=None):
    from devplacepy.services.audit import record as audit

    audit.record_system(
        event_key,
        actor_kind="cli",
        actor_role="system",
        origin="cli",
        target_type=target_type,
        target_uid=target_uid,
        target_label=target_label,
        summary=summary,
        metadata=metadata,
        links=links,
    )
