Jamf Pro API

#!/bin/bash # Get safari status Safari=$(sudo curl -s "https://user:password@jamfserver.com:8443/JSSResource/computerapplications/application/*Safari.app*/inventory/Asset%20Tag%2CPlatform" -H "accept: application/json" | grep -e versions | sed 's/\,"unique_computers.*//' | awk '{print $0}' | tr -s '\n' ' ' |…

Common Vulnerabilities and Exposures (CVE)

json feed of all apple related things. https://services.nvd.nist.gov/rest/json/cves/1.0?cpeMatchString=cpe:2.3:*:apple curl -s "https://services.nvd.nist.gov/rest/json/cves/1.0?cpeMatchString=cpe:2.3:*:apple" curl -s "https://services.nvd.nist.gov/rest/json/cves/1.0?cpeMatchString=cpe:2.3:*:apple:macOS:catalina" https://csrc.nist.gov/CSRC/media/Projects/National-Vulnerability-Database/documents/web%20service%20documentation/Automation%20Support%20for%20CVE%20Retrieval.pdf this is the documentation. of how to use their CVE feed hope this link works…

curl

NAME curl - transfer a URL SYNOPSIS curl [options / URLs] DESCRIPTION curl is a tool to transfer data from or to a server, using one of the supported protocols…