Skip to content

Supports os-family: unix required? #25

@p0rkjello

Description

@p0rkjello

Describe the bug
It appears that this profile would work on Windows. There does not appears to be any method of over writing the platform support on dependent profiles.

Expected behavior
Supports unix and windows

Actual behavior

  [SKIP]  ssh-01: client: Check ssh_config owner, group and permissions.
     [SKIP]  Profile ssh-baseline is not supported on platform windows_10_pro_n/10.0.17134.
  [SKIP]  ssh-02: Client: Specify the AddressFamily to your need
     [SKIP]  Profile ssh-baseline is not supported on platform windows_10_pro_n/10.0.17134.

Example code

supports:
  - platform-family: unix
  - platform-family: windows
depends:
  - name: ssl-baseline
    url: https://github.com/dev-sec/ssh-baseline/archive/master.tar.gz

OS / Environment

Inspec Version

2.1.72

Baseline Version

1.3.0

Additional context
Add platform support dependency for windows.

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