-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #122 from ansible-lockdown/devel
Devel to main Signed-off-by: George Nalen <georgen@mindpointgroup.com>
- Loading branch information
Showing
68 changed files
with
741 additions
and
790 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
parseable: true | ||
quiet: true | ||
skip_list: | ||
- '204' | ||
- '305' | ||
- '303' | ||
- '403' | ||
- '306' | ||
- '602' | ||
use_default_rules: true | ||
verbosity: 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,39 @@ | ||
--- | ||
# This is a basic workflow to help you get started with Actions | ||
|
||
name: CommunityToDevel | ||
|
||
# Controls when the action will run. Triggers the workflow on push or pull request | ||
# events but only for the devel branch | ||
on: | ||
pull_request: | ||
branches: [ devel ] | ||
pull_request: | ||
branches: [ devel ] | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
# This workflow contains a single job called "build" | ||
build: | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-latest | ||
# This workflow contains a single job called "build" | ||
build: | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-latest | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v2 | ||
# Refactr pipeline for devel pull request/merge | ||
- name: Refactr - Run Pipeline (to devel) | ||
# You may pin to the exact commit or the version. | ||
# uses: refactr/action-run-pipeline@be91e2796aa225268e4685c0e01a26d5f800cd53 | ||
uses: refactr/action-run-pipeline@v0.1.2 | ||
with: | ||
# API token | ||
api_token: '${{ secrets.REFACTR_KEY }}' | ||
# Project ID | ||
project_id: 5f47f0c4a13c7b18373e5556 | ||
# Job ID | ||
job_id: 5f933cbcf9c74e86b1609c00 | ||
# Variables | ||
variables: '{ "gitrepo": "https://github.com/ansible-lockdown/RHEL8-CIS.git", "image": "ami-066df92ac6f03efca", "githubBranch": "${{ github.head_ref }}", "username": "ec2-user" }' | ||
# Refactr API base URL | ||
api_url: # optional | ||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v2 | ||
|
||
# Refactr pipeline for devel pull request/merge | ||
- name: Refactr - Run Pipeline (to devel) | ||
# You may pin to the exact commit or the version. | ||
# uses: refactr/action-run-pipeline@be91e2796aa225268e4685c0e01a26d5f800cd53 | ||
uses: refactr/action-run-pipeline@v0.1.2 | ||
with: | ||
# API token | ||
api_token: '${{ secrets.REFACTR_KEY }}' | ||
# Project ID | ||
project_id: 5f47f0c4a13c7b18373e5556 | ||
# Job ID | ||
job_id: 5f933cbcf9c74e86b1609c00 | ||
# Variables | ||
variables: '{ "gitrepo": "https://github.com/ansible-lockdown/RHEL8-CIS.git", "image": "ami-04483b15b4268d18d", "githubBranch": "${{ github.head_ref }}", "username": "centos" }' | ||
# Refactr API base URL | ||
api_url: # optional |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
# This is a basic workflow to help you get started with Actions | ||
|
||
name: DevelToMain | ||
|
||
# Controls when the action will run. Triggers the workflow on push or pull request | ||
# events but only for the devel branch | ||
on: | ||
pull_request: | ||
branches: [ main ] | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
# This workflow contains a single job called "build" | ||
build: | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-latest | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v2 | ||
|
||
# Refactr pipeline for devel pull request/merge | ||
- name: Refactr - Run Pipeline (to main) | ||
# You may pin to the exact commit or the version. | ||
# uses: refactr/action-run-pipeline@be91e2796aa225268e4685c0e01a26d5f800cd53 | ||
uses: refactr/action-run-pipeline@v0.1.2 | ||
with: | ||
# API token | ||
api_token: '${{ secrets.REFACTR_KEY }}' | ||
# Project ID | ||
project_id: 5f47f0c4a13c7b18373e5556 | ||
# Job ID | ||
job_id: 5f90ad90f9c74e6d1e606e33 | ||
# Variables | ||
variables: '{ "gitrepo": "https://github.com/ansible-lockdown/RHEL8-CIS.git", "image": "ami-04483b15b4268d18d", "username": "centos" }' | ||
# Refactr API base URL | ||
api_url: # optional |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
.env | ||
*.log | ||
*.retry | ||
.cache | ||
.vagrant | ||
tests/*redhat-subscription | ||
tests/Dockerfile | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
ignore: | | ||
tests/ | ||
molecule/ | ||
.gitlab-ci.yml | ||
*molecule.yml | ||
|
||
extends: default | ||
|
||
rules: | ||
indentation: | ||
# Requiring 4 space indentation | ||
spaces: 4 | ||
# Requiring consistent indentation within a file, either indented or not | ||
indent-sequences: consistent | ||
truthy: disable | ||
braces: | ||
max-spaces-inside: 1 | ||
level: error | ||
brackets: | ||
max-spaces-inside: 1 | ||
level: error | ||
line-length: disable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Changes to rhel8CIS | ||
|
||
## 1.2.2 | ||
|
||
- #33 mkgrub missing variable issues - efi and bios path resolution | ||
- thanks to mrampant & mickey1928geo | ||
- #102 2.2.2 xorg pkg removal extended | ||
- thanks to RosarioVinoth | ||
- #104 5.4.1 pwquality logic | ||
- thanks to RosarioVinoth | ||
- #107 Idempotence improvement for 4.1.1.3 and 4.1.1.4 | ||
- thanks to andreyzher | ||
|
||
- lint changes and updates to sync with ansible-galaxy | ||
|
||
## v1.2.1 | ||
|
||
- bootloader and default variables | ||
- empty strings lint updates | ||
|
||
### 87 | ||
|
||
- rule 6.1.1 - audit only - outputs file discrepancies to {{ rhel8cis_rpm_audit_file }} | ||
|
||
### 88 | ||
|
||
- checkmode_improvements added to relevant tasks | ||
|
||
### PR #96 | ||
|
||
- crypto policy idempotency | ||
|
||
## v1.2.0 | ||
|
||
### 86 | ||
|
||
- Adding on the goss auditing tool | ||
- remove deprecated warnings | ||
- format and layout | ||
- general improvements | ||
- readme updates | ||
- use ansible package_facts | ||
|
||
### 90 | ||
|
||
- cis fix - nfs-server not nfs | ||
- Thanks to danderemer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.