2

I am currently checking the remote machine using the command oscap-ssh login@host 22 xccdf eval -- profile xccdf_org.ssgproject.content_profile_standart --report name.html.

But the test templates don't suit me, I only need to check three conditions, for this I need to create my profile, so I ask how this can be achieved?

Gerald Schneider
  • 23,274
  • 8
  • 57
  • 89
  • 1
    Scanning what with what? – Gerald Schneider Jun 22 '22 at 08:51
  • I need openscap to do the checks that I need, not the ones that are in the template. For example, I need him to check for the presence of a file in the directory – Сергей Пешков Jun 22 '22 at 09:38
  • 1
    Please edit your question to include all details of what you want to achieve and what your problem is. – Gerald Schneider Jun 22 '22 at 09:41
  • I am currently checking the remote machine using the command oscap-ssh login@host 22 xccdf eval -- profile xccdf_org.ssgproject.content_profile_standart --report name.html . But the test templates don't suit me, I only need to check three conditions, for this I need to create my profile, so I ask how this can be achieved? – Сергей Пешков Jun 22 '22 at 11:28
  • Now that's a question someone can answer ... but not me. I started a vote to reopen your quesition, I'm sure someone will be able to answer it when it is open again. – Gerald Schneider Jun 22 '22 at 11:49

1 Answers1

1

Use the scap-workbench gui on a system with a desktop.

https://www.open-scap.org/tools/scap-workbench/

It gives you the option to only select the items you want to test for and save it as a profile.

AndyM
  • 948
  • 2
  • 16
  • 26