knaudit

command module
v0.0.0-...-cd195b4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2024 License: MIT Imports: 16 Imported by: 0

README

Knaudit

KNADA audit logger

Sender loggdata basert på Kubernetes og Airflow-jobber til Datavarehus via Knaudit proxy.

Følgende data logges:

  • Hostname
  • IP
  • Namespace
  • DAG ID
  • Run ID
  • Task ID
  • Hvem som startet DAG/job
  • Git repo
  • Commit SHA1
  • DAG/Job startet
  • Timestamp

Eksempel output

{
  "commit_sha1": [
    "d19dcf695f043c6eff6b0cc2478b58d45299ca97"
  ],
  "hostname": [
    "mycsvdag-starting-fc8dfe28afae414da33a5d2a57db85d1"
  ],
  "run_id": [
    "scheduled__2023-05-03T05:30:00+00:00"
  ],
  "timestamp": [
    "2023-05-03T05:35:11.000Z"
  ],
  "git_repo": [
    "github.com/navikt/test-team-dag"
  ],
  "ip": [
    "321.312.312.321"
  ],
  "namespace": [
    "team-test-ncnv"
  ],
  "task_id": [
    "starting"
  ],
  "git_branch": [
    "main"
  ],
  "dag_id": [
    "MyCSVDAG"
  ],
  "triggered_by": [
    "airflow"
  ]
}

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL