Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DO NOT MERGE - Automatus Example PR #11471

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/automatus-cs8.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ jobs:
validate-ubuntu:
name: Run Tests
needs: build-content
permissions:
actions: write
runs-on: ubuntu-20.04
steps:
- name: Install Deps
Expand Down Expand Up @@ -172,6 +174,7 @@ jobs:
if: ${{ steps.ctf.outputs.CTF_OUTPUT_SIZE != '0' }}
uses: geekyeggo/delete-artifact@v4
with:
token: ${{ github.token }}
name: ${{ env.DATASTREAM }}
useGlob: false
- name: Fail in case of ERROR present in logs_bash/test_suite.log or logs_ansible/test_suite.log
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/automatus-cs9.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ jobs:
validate-ubuntu:
name: Run Tests
needs: build-content
permissions:
actions: write
runs-on: ubuntu-20.04
steps:
- name: Install Deps
Expand Down Expand Up @@ -172,6 +174,7 @@ jobs:
if: ${{ steps.ctf.outputs.CTF_OUTPUT_SIZE != '0' }}
uses: geekyeggo/delete-artifact@v4
with:
token: ${{ github.token }}
name: ${{ env.DATASTREAM }}
useGlob: false
- name: Fail in case of ERROR present in logs_bash/test_suite.log or logs_ansible/test_suite.log
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/automatus-sle15.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ jobs:
validate-ubuntu:
name: Run Tests
needs: build-content
permissions:
actions: write
runs-on: ubuntu-20.04
steps:
- name: Install Deps
Expand Down Expand Up @@ -180,6 +182,7 @@ jobs:
if: ${{ steps.ctf.outputs.CTF_OUTPUT_SIZE != '0' }}
uses: geekyeggo/delete-artifact@v4
with:
token: ${{ github.token }}
name: ${{ env.DATASTREAM }}
useGlob: false
- name: Fail in case of ERROR present in logs_bash/test_suite.log or logs_ansible/test_suite.log
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/automatus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ jobs:
validate-ubuntu:
name: Run Tests
needs: build-content
permissions:
actions: write
runs-on: ubuntu-20.04
steps:
- name: Install Deps
Expand Down Expand Up @@ -170,6 +172,7 @@ jobs:
if: ${{ steps.ctf.outputs.CTF_OUTPUT_SIZE != '0' }}
uses: geekyeggo/delete-artifact@v4
with:
token: ${{ github.token }}
name: ssg-${{steps.product.outputs.prop}}-ds.xml
useGlob: false
- name: Fail in case of ERROR present in logs_bash/test_suite.log or logs_ansible/test_suite.log
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
- name: {{{ rule_title }}} - Ensure a Final Rule Denying Everything
ansible.builtin.copy:
content: |
# Red Hat KCS 7003854 (https://access.redhat.com/solutions/7003854)
# Red Hat KCS 7003854 (https://access.redhat.com/solutions/7003854) test
deny perm=any all : all
dest: /etc/fapolicyd/rules.d/99-deny-everything.rules
owner: root
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,7 @@
register: ipv6_status

- name: Check sysctl value of net.ipv6.conf.all.disable_ipv6
{{% if product == "rhel7" %}}
ansible.builtin.sysctl:
{{% else %}}
ansible.posix.sysctl:
{{%endif %}}
name: net.ipv6.conf.all.disable_ipv6
state: present
value: "1"
Expand Down
Loading