Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker VIRT_CONTROL vm field garbage #66

Open
spbnick opened this issue Sep 27, 2017 · 0 comments
Open

Docker VIRT_CONTROL vm field garbage #66

spbnick opened this issue Sep 27, 2017 · 0 comments

Comments

@spbnick
Copy link
Member

spbnick commented Sep 27, 2017

Aushape produces garbage as the value of the "vm" field in Docker's VIRT_CONTROL records.

Example input:

type=VIRT_CONTROL msg=audit(1506334818.325:606): pid=1182 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:container_runtime_t:s0 msg='auid=1000 hostname=c3b752d5eceb vm=centos:7 vm-pid=17252 user=jkarasek exe=sleep reason=api op=resize  exe="/usr/bin/dockerd-current" hostname=? addr=? terminal=? res=success'

Resulting output:

    {
        "serial":513,
        "time":"2017-09-25T08:59:01.407+02:00",
        "data":{
            "virt_control":{
                "pid":["1182"],
                "uid":["root","0"],
                "auid":["unset","4294967295"],
                "ses":["unset","4294967295"],
                "subj":["system_u:system_r:container_runtime_t:s0"],
                "op":["resize"],
                "vm-pid":["11482"],
                "user":["jkarasek"],
                "reason":["api"],
                "vm":[""],
                "auid":["jkarasek","1000"],
                "exe":["sleep"],
                "hostname":["a056213011e5"],
                "exe":["/usr/bin/dockerd-current"],
                "hostname":["?"],
                "addr":["?"],
                "terminal":["?"],
                "res":["success"]
            }
        }
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant