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

Skip certain paths from scanning #2052

Merged
merged 21 commits into from
Jan 16, 2024
Merged

Commits on Dec 18, 2023

  1. Avoid a cast

    This cast and rename of the `void *arg` to `struct pfdata *pfd`
    isn't necessary, we can change the argument type to the actual type,
    because the function is called only once and therefore always with
    an argument of the `struct pfdata *` type.
    jan-cerny committed Dec 18, 2023
    Configuration menu
    Copy the full SHA
    b62069e View commit details
    Browse the repository at this point in the history
  2. Add ability to block paths

    People will be able to tell probes to skip certain paths during
    content evaluation. They can specify a list of paths by setting the
    `OSCAP_PROBE_IGNORE_PATHS` environment variable. The paths in this
    list should be separated by a colon.
    jan-cerny committed Dec 18, 2023
    Configuration menu
    Copy the full SHA
    1e4b8ae View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    63d2a79 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2b367b6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    aa9ffd0 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a2201c1 View commit details
    Browse the repository at this point in the history
  7. Avoid a cast

    This cast and rename of the `void *arg` to `struct pfdata *pfd`
    isn't necessary, we can change the argument type to the actual type,
    because the function is called only once and therefore always with
    an argument of the `struct pfdata *` type.
    jan-cerny committed Dec 18, 2023
    Configuration menu
    Copy the full SHA
    551f972 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    e4ea549 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    830ea1d View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    65a40c5 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    1604943 View commit details
    Browse the repository at this point in the history
  12. Add sensible comments

    jan-cerny committed Dec 18, 2023
    Configuration menu
    Copy the full SHA
    129a118 View commit details
    Browse the repository at this point in the history
  13. Extend test_skip_paths

    Extend test_skip_paths to test the "skip selected paths" feature
    also in the filehash58 probe.
    jan-cerny committed Dec 18, 2023
    Configuration menu
    Copy the full SHA
    a033aef View commit details
    Browse the repository at this point in the history
  14. Extend test_skip_paths

    Extend test_skip_paths to test the "skip selected paths" feature
    also in the xmlfilecontent probe.
    jan-cerny committed Dec 18, 2023
    Configuration menu
    Copy the full SHA
    c316bc4 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2024

  1. Configuration menu
    Copy the full SHA
    592dd6a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8cb70c5 View commit details
    Browse the repository at this point in the history
  3. Move a function to utils

    jan-cerny committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    b50e1ba View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    faa742a View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2024

  1. Configuration menu
    Copy the full SHA
    e9e8558 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    58e409c View commit details
    Browse the repository at this point in the history
  3. Add a warning on Windows

    jan-cerny committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    2d20f33 View commit details
    Browse the repository at this point in the history