Skip to content
This repository was archived by the owner on Feb 16, 2021. It is now read-only.
This repository was archived by the owner on Feb 16, 2021. It is now read-only.

More complex detection condition logic #8

Description

@AMDmi3

For now, we only support OR logic for detection conditions. We may need AND logic as in "opsys=Linux AND /etc/gentoo-release file present". From syntax standpoint, either simple detection-and: alternative to detection:, or nested constructs as in

detection:
  - and
    - file-in-etc: gentoo-release
    - or
      - opsys: Linux
      - uname-s: Linux

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions