Created
March 13, 2019 19:24
-
-
Save costis-t/7e11c5c5917d88966d285cad67d74a3d to your computer and use it in GitHub Desktop.
Answer to question https://unix.stackexchange.com/questions/505942/splitting-text-file-into-csv-with-multiple-delimiters-in-bash
We can make this file beautiful and searchable if this error is corrected: Any value after quoted field isn't allowed in line 2.
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
"Group ID (Vulid)", "Group Title", "Rule ID", "Severity", "Rule Version (STIG-ID)", "Rule Title", "Vulnerability Discussion", "Check Content", "Fix Text", "CCI" | |
"V-81749", "SRG-OS-000067-GPOS-00035", "SV-96463r1_rule", "CAT II", "AOSX-13-067035", "The macOS system must enable certificate for smartcards.", "its issuer is system-trusted, the certificate is not expired, its "valid-after" date is in the past, and it passes CRL and OCSP checking.", "sudo /usr/sbin/system_profiler SPConfigurationProfileDataType | /usr/bin/grep checkCertificateTrust If the output is null or not "checkCertificateTrust = 1;" this is a finding.", "This setting is enforced using the "Smartcard" configuration profile.", "CCI-000186" | |
"V-81749", "SRG-OS-000067-GPOS-00035", "SV-96463r1_rule", "CAT II", "AOSX-13-067035", "The macOS system must enable certificate for smartcards.", "its issuer is system-trusted, the certificate is not expired, its "valid-after" date is in the past, and it passes CRL and OCSP checking.", "sudo /usr/sbin/system_profiler SPConfigurationProfileDataType | /usr/bin/grep checkCertificateTrust If the output is null or not "checkCertificateTrust = 1;" this is a finding.", "This setting is enforced using the "Smartcard" configuration profile.", "CCI-000186" |
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
Group ID (Vulid): V-81749 | |
Group Title: SRG-OS-000067-GPOS-00035 | |
Rule ID: SV-96463r1_rule | |
Severity: CAT II | |
Rule Version (STIG-ID): AOSX-13-067035 | |
Rule Title: The macOS system must enable certificate for smartcards. | |
Vulnerability Discussion: To prevent untrusted certificates the certificates on a smartcard card must be valid in these ways: its issuer is system-trusted, the certificate is not expired, its "valid-after" date is in the past, and it passes CRL and OCSP checking. | |
Check Content: To view the setting for the smartcard certification configuration, run the following command: sudo /usr/sbin/system_profiler SPConfigurationProfileDataType | /usr/bin/grep checkCertificateTrust If the output is null or not "checkCertificateTrust = 1;" this is a finding. | |
Fix Text: This setting is enforced using the "Smartcard" configuration profile. | |
CCI: CCI-000186 | |
Group ID (Vulid): V-81749 | |
Group Title: SRG-OS-000067-GPOS-00035 | |
Rule ID: SV-96463r1_rule | |
Severity: CAT II | |
Rule Version (STIG-ID): AOSX-13-067035 | |
Rule Title: The macOS system must enable certificate for smartcards. | |
Vulnerability Discussion: To prevent untrusted certificates the certificates on a smartcard card must be valid in these ways: its issuer is system-trusted, the certificate is not expired, its "valid-after" date is in the past, and it passes CRL and OCSP checking. | |
Check Content: To view the setting for the smartcard certification configuration, run the following command: sudo /usr/sbin/system_profiler SPConfigurationProfileDataType | /usr/bin/grep checkCertificateTrust If the output is null or not "checkCertificateTrust = 1;" this is a finding. | |
Fix Text: This setting is enforced using the "Smartcard" configuration profile. | |
CCI: CCI-000186 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment