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
# list all local cask files and find the 'appcast' stanza | |
# - assumes you have brew cask installed: | |
# brew install caskroom/cask/brew-cask | |
for cask in `ls /usr/local/Library/Taps/caskroom/homebrew-cask/Casks | awk -F"." '{print $1}'`; do | |
cast=$(brew cask cat ${cask} | grep appcast | awk '{print $2}') | |
[ -n "${cast}" ] && echo "${cask}: ${cast}" | grep http | |
done | |
a-better-finder-attributes: 'http://www.publicspace.net/app/signed_abfa5.xml' | |
a-better-finder-rename: 'http://www.publicspace.net/app/signed_abfr9.xml' |
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
# Install openscap tool. | |
sudo yum install openscap-utils | |
# Generate report based on RedHat's scap-security-guide project (SSG). | |
# Requires EPEL. | |
sudo yum install scap-security-guide | |
oscap xccdf eval --profile stig-rhel6-server-upstream \ | |
--results /tmp/`hostname`-ssg-results.xml \ | |
--report /tmp/`hostname`-ssg-results.html \ | |
--cpe /usr/share/xml/scap/ssg/content/ssg-rhel6-cpe-dictionary.xml \ |