inspec/test/unit/mock/profiles/global_attributes/inspec.yml

44 lines
838 B
YAML
Raw Normal View History

name: attributes
title: InSpec Profile
maintainer: The Authors
copyright: The Authors
copyright_email: you@example.com
license: Apache-2.0
summary: An InSpec Compliance Profile
version: 0.1.0
depends:
- name: child_profile_NEW_NAME
url: https://example.com/child_profile.tar.gz
- url: https://example.com/child_profile2.tar.gz
attributes:
- name: val_numeric
type: numeric
default: 443
- name: val_numeric_override
type: numeric
default: '72.88'
- name: val_string
type: string
default: 'test-attr'
- name: val_boolean
type: boolean
default: true
- name: val_regex
type: regex
default: '/^\d*/'
- name: val_array
type: array
default:
- a
- b
- c
- name: val_hash
type: hash
default:
a: true
b: false
c: '123'
- name: val_no_default
- name: val_no_default_with_type
type: hash