Giter Site home page Giter Site logo

stigsupport's People

Contributors

zincarla avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

stigsupport's Issues

SCAP Scan Result Path incorrect

Convert-XCCDFtoCKL.ps1 attempts to default the XCCDF path parameter to the scap scan folder for the executing user. The path currently used is for significantly older SCC tools, and should be updated.

Please make the MAC/IP interface selection configurable in Get-XCCDFHostData -XCCDF $XCCDFData

It would be amazing if I could pick eth0 instead of lo, so if I could somehow pick in STIGSupport/Module/StigSupport.psm1

$HostIP = (@()+$XCCDF.Benchmark.TestResult.'target-address')[1]
$HostMAC = (@()+($XCCDF.Benchmark.TestResult.'target-facts'.fact | Where-Object {$.name -eq "urn:scap:fact:asset:identifier:mac"}).'#text')[1]
$HostFQDN = (@()+($XCCDF.Benchmark.TestResult.'target-facts'.fact | Where-Object {$
.name -eq "urn:scap:fact:asset:identifier:fqdn"}).'#text')[0]
$HostGUID = (@()+($XCCDF.Benchmark.TestResult.'target-facts'.fact | Where-Object {$_.name -eq "urn:scap:fact:asset:identifier:guid"}).'#text')[0]

Instead of:
$HostIP = (@()+$XCCDF.Benchmark.TestResult.'target-address')[0]
$HostMAC = (@()+($XCCDF.Benchmark.TestResult.'target-facts'.fact | Where-Object {$.name -eq "urn:scap:fact:asset:identifier:mac"}).'#text')[0]
$HostFQDN = (@()+($XCCDF.Benchmark.TestResult.'target-facts'.fact | Where-Object {$
.name -eq "urn:scap:fact:asset:identifier:fqdn"}).'#text')[0]
$HostGUID = (@()+($XCCDF.Benchmark.TestResult.'target-facts'.fact | Where-Object {$_.name -eq "urn:scap:fact:asset:identifier:guid"}).'#text')[0]

It would be really amazing! Right now, the IP address is 127.0.0.1 and the MAC is 00:00:00:00:00:00 and it would be way cool if it could be filled with the IP on eth0 and mac of eth0.

IASE has moved

Some code and documentation needs to be updated to reflect this

STIG v3 format

Request modifications to make compatible with STIG v3 checklist format.

$Host is reserved

$Host is reserved in powershell. Cmdlets using $Host must be changed such as Set-CKLHostData

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.