Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Build and test AIDE database - test existence of operational aide database file - fails when file is present

オープン
#13,765 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
ansible, shell
領域
security, testing

調査の方向性

まず、issue にある oscap 評価を再現し、参照されている OVAL のテスト、オブジェクト、変数について ssg-al2023-ds.xml を調べます。生成された変数値を /var/lib/aide/aide.db.gz および aide.db.new.gz と比較します。運用データベースのパスが解決され、AL2023 でテストに合格すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

triaged
Description of problem:

Testing existence of operational aide database file oval:ssg-test_aide_operational_database_absolute_path:tst:1 false
No items have been found conforming to the following objects:
Object oval:ssg-object_aide_operational_database_absolute_path:obj:1 of type file_object
Filepath
Referenced variable has no values (oval:ssg-variable_aide_operational_database_absolute_path:var:1)

SCAP Security Guide Version:

0.1.77

Operating System Version:

AL2023

Steps to Reproduce:
  1. git clone https://github.com/ansible-lockdown/AMAZON2023-CIS.git
  2. sudo ansible-playbook AMAZON2023-CIS/site.yml
  3. oscap xccdf eval
    --profile level1_profile
    --report ec2-${OS}oscap-ssg-report${DATE_TIME_STAMP}.html
    ssg-al2023-ds.xml
Actual Results:

FAILED

Testing existence of operational aide database file oval:ssg-test_aide_operational_database_absolute_path:tst:1 false
No items have been found conforming to the following objects:
Object oval:ssg-object_aide_operational_database_absolute_path:obj:1 of type file_object
Filepath
Referenced variable has no values (oval:ssg-variable_aide_operational_database_absolute_path:var:1)

Expected Results:

PASS

Additional Information/Debugging Steps:

The files are present:

[ec2-user@ip-10-44-210-57 ~]$ sudo ls -l /var/lib/aide/
total 0
-rw-r--r--. 1 root root 0 Aug 5 19:02 aide.db.gz
-rw-------. 1 root root 0 Aug 5 19:02 aide.db.new.gz

主要言語
Shell
スター
2.8k
フォーク
842
平均マージ
2日 22時間
マージ済み PR(30日)
69

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ComplianceAsCode/content のほかの issue

ComplianceAsCode/content の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。