2021
Mondoo 5.14.0 is out!
ยทBy jay
Back to releases
๐ฅณ mondoo 5.14.0 is out!
๐ NEW FEATURES
Terraform Transport
This release adds support to scan Terraform HCL files.
Bashmondoo shell -t terraform:// --option path=path/to/tfmondoo > terraform.blocks { nameLabel type arguments }
Terraformterraform.blocks: [0: {arguments: {most_recent: {type: "bool"value: true}owners: {type: "tuple([string])"value: [0: "self"]}tags: {type: "object({Name=string,Tested=string})"value: null}}type: "data"nameLabel: "aws_ami"}1: {arguments: {source: {type: "string"value: "hashicorp/consul/aws"}version: {type: "string"value: "0.11.0"}}type: "module"nameLabel: "consul"}...}
MQL glob fields
You can now ask the shell to print all the fields using *.
Bashmondoo > sshd.config { * }
JavaScriptsshd.config: {macs: []file: file id = /etc/ssh/sshd_configciphers: []params: {AuthorizedKeysFile: ".ssh/authorized_keys"ChallengeResponseAuthentication: "no"Port: "22"PrintMotd: "no"Subsystem: "sftp /usr/lib/ssh/sftp-server"UsePAM: "yes"}kexs: []content: "# $OpenBSD: sshd_config..."}
DNS DKIM Record Parsing
This release improves the previously released dns resource with the ability to
parse DKIM TXT records.
JavaScriptdns("google._domainkey.mondoo.com").records { type rdata }
JavaScriptdns.records: [0: {type: "TXT"rdata: [0: "v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAx3E9IavfvGHiENM/bFBTJfRLBUE1PV9f2q2mbYOHu2d1zZ3VB22sXnpGN6TV1m8Tq8zUWlXPgkApOaSF/+zRqBuyF6ci1rmcfvFCAHdERXy37bFgi0/EkoslaqEZel4eddqqWt93KuwydPL2jEhd01M+PGbfFfCu65iZFW107u0PhlXWZG0iJbFsBNdp4mKXI4CxWNlVb0xPr0kcYaE0eAi+EcnG5QHONv5cQrQJ6ncUNehV0caUKWibIKTKPmwttPTyTYbF6sWY7olT9FAgbGz5flHHqBVWPXsf5Jivv5HbsJLTdejAvQwm7e+w0S//OFafffZUXgF/yNB4HczZiQIDAQAB"]}]
Now a dns("google._domainkey.mondoo.com").dkim returns the value and offers a valid method to verify if the public key is parsable:
JavaScriptdns("google._domainkey.mondoo.com").dkim {keyTypeversionnotesserviceTypesflagspublicKeyDatavalid}
JavaScriptdns.dkim: [0: {notes: ""publicKeyData: "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAx3E9IavfvGHiENM/bFBTJfRLBUE1PV9f2q2mbYOHu2d1zZ3VB22sXnpGN6TV1m8Tq8zUWlXPgkApOaSF/+zRqBuyF6ci1rmcfvFCAHdERXy37bFgi0/EkoslaqEZel4eddqqWt93KuwydPL2jEhd01M+PGbfFfCu65iZFW107u0PhlXWZG0iJbFsBNdp4mKXI4CxWNlVb0xPr0kcYaE0eAi+EcnG5QHONv5cQrQJ6ncUNehV0caUKWibIKTKPmwttPTyTYbF6sWY7olT9FAgbGz5flHHqBVWPXsf5Jivv5HbsJLTdejAvQwm7e+w0S//OFafffZUXgF/yNB4HczZiQIDAQAB"version: "DKIM1"flags: []valid: trueserviceTypes: []keyType: "rsa"}]
๐งน IMPROVEMENTS
- support mondoo scan -t
scheme://without://. You can now justmondoo scan -t scheme - Add ability to load default ssh elliptic curve keys
- Try to detect a platform identifier consistent across transports when scanning EC2 instances
๐ BUG FIXES AND UPDATES
- Fix bug where the
tlsresource would panic with concurrent map access - Fix bug with
machineresource on Linux where it would error out withcould not retrieve smbios info for platform: read /sys/class/dmi/id: is a directory - Fix
aws.accessAnalyzerresource