<commit_before>---
driver:
  name: dokken
  chef_version: 12.7.2
  privileged: true # because Docker and SystemD/Upstart

transport:
  name: dokken

provisioner:
  name: dokken

verifier:
  name: inspec
  sudo: false

platforms:
- name: ubuntu-12.04
  driver:
    image: ubuntu:12.04
- name: ubuntu-14.04
  driver:
    image: ubuntu:14.04
- name: ubuntu-15.10
  driver:
    image: ubuntu:15.10
    pid_one_command: /bin/systemd
- name: centos-6.6
  driver:
    image: centos:6.6
- name: centos-6.7
  driver:
    image: centos:6.7
    intermediate_instructions:
      - RUN yum install -y initscripts
- name: centos-7
  driver:
    image: centos:7
    pid_one_command: /usr/lib/systemd/systemd
- name: oracle-6.6
  driver:
    image: oraclelinux:6.6
- name: oracle-6.7
  driver:
    image: oraclelinux:6.7
- name: oracle-7.1
  driver:
    image: oraclelinux:7.1
    pid_one_command: /usr/lib/systemd/systemd
- name: debian-7
  driver:
    image: debian:7
    intermediate_instructions:
    - RUN /usr/bin/apt-get update
    - RUN /usr/bin/apt-get install -y procps
- name: debian-8
  driver:
    image: debian:8
    pid_one_command: /bin/systemd

suites:
  - name: default # chef-server
    run_list:
      - recipe[audit::default]
    attributes:
      audit:
        profiles: &profiles
          base/ssh: true
          base/linux: true
  - name: compliance # compliance api with chef token
    run_list:
      - recipe[audit::default]
    attributes:
      audit:
        variant: chef
        server: <%= ENV['COMPLIANCE_API'] %>
        token: <%= ENV['COMPLIANCE_CHEF_TOKEN'] %>
        profiles: *profiles
  - name: compliance-pure # compliance api with compliance token
    run_list:
      - recipe[audit::default]
    attributes:
      audit:
        variant: compliance
        server: <%= ENV['COMPLIANCE_API'] %>
        token: <%= ENV['COMPLIANCE_TOKEN'] %>
        owner: admin
        profiles: *profiles
<commit_msg>clarify access token in env vars<commit_after>---
driver:
  name: dokken
  chef_version: 12.7.2
  privileged: true # because Docker and SystemD/Upstart

transport:
  name: dokken

provisioner:
  name: dokken

verifier:
  name: inspec
  sudo: false

platforms:
- name: ubuntu-12.04
  driver:
    image: ubuntu:12.04
- name: ubuntu-14.04
  driver:
    image: ubuntu:14.04
- name: ubuntu-15.10
  driver:
    image: ubuntu:15.10
    pid_one_command: /bin/systemd
- name: centos-6.6
  driver:
    image: centos:6.6
- name: centos-6.7
  driver:
    image: centos:6.7
    intermediate_instructions:
      - RUN yum install -y initscripts
- name: centos-7
  driver:
    image: centos:7
    pid_one_command: /usr/lib/systemd/systemd
- name: oracle-6.6
  driver:
    image: oraclelinux:6.6
- name: oracle-6.7
  driver:
    image: oraclelinux:6.7
- name: oracle-7.1
  driver:
    image: oraclelinux:7.1
    pid_one_command: /usr/lib/systemd/systemd
- name: debian-7
  driver:
    image: debian:7
    intermediate_instructions:
    - RUN /usr/bin/apt-get update
    - RUN /usr/bin/apt-get install -y procps
- name: debian-8
  driver:
    image: debian:8
    pid_one_command: /bin/systemd

suites:
  - name: default # chef-server
    run_list:
      - recipe[audit::default]
    attributes:
      audit:
        profiles: &profiles
          base/ssh: true
          base/linux: true
  - name: compliance # compliance api with chef token
    run_list:
      - recipe[audit::default]
    attributes:
      audit:
        variant: chef
        server: <%= ENV['COMPLIANCE_API'] %>
        token: <%= ENV['COMPLIANCE_CHEF_ACCESSTOKEN'] %>
        profiles: *profiles
  - name: compliance-pure # compliance api with compliance token
    run_list:
      - recipe[audit::default]
    attributes:
      audit:
        variant: compliance
        server: <%= ENV['COMPLIANCE_API'] %>
        token: <%= ENV['COMPLIANCE_ACCESSTOKEN'] %>
        owner: admin
        profiles: *profiles

{'fraction_non_alphanumeric': 0.11496022581472928, 'fraction_numerical': 0.02771362586605081, 'mean_word_length': 2.486583184257603, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4685021', 'n_tokens_mistral': 1468, 'n_tokens_neox': 1395, 'n_words': 317}