AUPARSE_NORMALIZE(3)

πŸ“¦
version 4.2.1 Β· 2 versions
, in alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, fedora 43, fedora 44, nixpkgs unstable, ubuntu resolute, ubuntu stonking

πŸ’– AUPARSE_NORMALIZE πŸ’–

okay bestie, buckle up, we're diving into auparse_normalize from the Linux Audit API (that's section 3 of the manual, for the record, iykyk) πŸŽ€


✨ NAME ✨

auparse_normalize β€” normalize the current event 🌈

like, it takes your messy little event and gives it a glow-up so it's actually readable, no cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <auparse.h>

int auparse_normalize(auparse_state_t *au,normalize_option_t"opt);"

πŸ‘‘ DESCRIPTION πŸ‘‘

So here's the tea, bestie: auparse_normalize analyzes the current event so that the important information about the event can be accessed through a normalized API πŸ’…

and the way that works is iconic β€” it positions the internal field cursor to the exact record and field when you ask about specific information. like, it just knows where to point. main character energy fr fr ✨

The auparse_normalize function takes an opt argument to tell it how much information to gather. Legal values are:

  • NORM_OPT_ALL β€” gather maximum information πŸ”₯ go big or go home
  • NORM_OPT_NO_ATTRS β€” do not gather subject/object attribute information πŸ™ˆ

πŸ’€ RETURN VALUE πŸ’€

Returns 0 on success and 1 on error.

that's it. zero is the slay, one is the 😭. periodt.


🌸 SEE ALSO 🌸

  • auparse_normalize_subject_primary(3)
  • auparse_normalize_object_primary(3)

🫢 AUTHOR 🫢

Steve Grubb πŸ‘‘


that's the whole vibe bestie, go normalize some events and live your truth πŸ’œβœ¨

Red Hat Β· Feb 2017 Β· AUPARSE_NORMALIZE(3) πŸŽ€ bye ily πŸ¦‹