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

More complex detection condition logic #8

@AMDmi3

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

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