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

fix(scap): move machine/agent info to generic platform #1204

Merged
merged 8 commits into from
Jul 18, 2023

Commits on Jul 18, 2023

  1. chore(scap): provide a stub scap_linux_alloc_platform() for non-Linux

    Signed-off-by: Grzegorz Nosek <grzegorz.nosek@sysdig.com>
    gnosek committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    115ab70 View commit details
    Browse the repository at this point in the history
  2. new(scap,sinsp): allow linux_platform usage for source plugins

    Signed-off-by: Grzegorz Nosek <grzegorz.nosek@sysdig.com>
    gnosek committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    745bc1c View commit details
    Browse the repository at this point in the history
  3. chore(scap): extract getting machine info to a separate function

    Signed-off-by: Grzegorz Nosek <grzegorz.nosek@sysdig.com>
    gnosek committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    d0d3fe2 View commit details
    Browse the repository at this point in the history
  4. cleanup(scap): define SECOND_TO_NS as ULL

    Signed-off-by: Grzegorz Nosek <grzegorz.nosek@sysdig.com>
    gnosek committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    9f6528f View commit details
    Browse the repository at this point in the history
  5. new(scap): fill machine_info and agent_info in generic platform

    This still needs macOS and Windows support
    
    Signed-off-by: Grzegorz Nosek <grzegorz.nosek@sysdig.com>
    gnosek committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    ebe789f View commit details
    Browse the repository at this point in the history
  6. new(scap): agent/machine info for macOS

    Signed-off-by: Grzegorz Nosek <grzegorz.nosek@sysdig.com>
    gnosek committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    616e773 View commit details
    Browse the repository at this point in the history
  7. new(scap): agent/machine info for Windows

    Signed-off-by: Grzegorz Nosek <grzegorz.nosek@sysdig.com>
    gnosek committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    6a7564c View commit details
    Browse the repository at this point in the history
  8. cleanup(tests): we no longer need SCAP_MODE_LIVE for this test

    The generic platform handles machine_info now.
    
    Signed-off-by: Grzegorz Nosek <grzegorz.nosek@sysdig.com>
    gnosek committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    5613af1 View commit details
    Browse the repository at this point in the history