{"action":"created","issue":{"url":"https://api.github.com/repos/autopkg/jbaker10-recipes/issues/7","repository_url":"https://api.github.com/repos/autopkg/jbaker10-recipes","labels_url":"https://api.github.com/repos/autopkg/jbaker10-recipes/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/autopkg/jbaker10-recipes/issues/7/comments","events_url":"https://api.github.com/repos/autopkg/jbaker10-recipes/issues/7/events","html_url":"https://github.com/autopkg/jbaker10-recipes/pull/7","id":304458593,"number":7,"title":"osquery.munki.recipe","user":{"login":"weswhet","id":6865785,"avatar_url":"https://avatars1.githubusercontent.com/u/6865785?v=4","gravatar_id":"","url":"https://api.github.com/users/weswhet","html_url":"https://github.com/weswhet","followers_url":"https://api.github.com/users/weswhet/followers","following_url":"https://api.github.com/users/weswhet/following{/other_user}","gists_url":"https://api.github.com/users/weswhet/gists{/gist_id}","starred_url":"https://api.github.com/users/weswhet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weswhet/subscriptions","organizations_url":"https://api.github.com/users/weswhet/orgs","repos_url":"https://api.github.com/users/weswhet/repos","events_url":"https://api.github.com/users/weswhet/events{/privacy}","received_events_url":"https://api.github.com/users/weswhet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-12T17:02:37Z","updated_at":"2018-03-12T19:40:42Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/autopkg/jbaker10-recipes/pulls/7","html_url":"https://github.com/autopkg/jbaker10-recipes/pull/7","diff_url":"https://github.com/autopkg/jbaker10-recipes/pull/7.diff","patch_url":"https://github.com/autopkg/jbaker10-recipes/pull/7.patch"},"body":"Adding in a munki recipe for osquery. \r\n\r\n#### munki recipe output\r\n\r\n```\r\nProcessing ./osquery/osquery.munki.recipe...\r\nWARNING: ./osquery/osquery.munki.recipe is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...\r\nURLTextSearcher\r\n{'Input': {'re_pattern': u'Release ([\\\\d\\\\.]+)',\r\n           'result_output_var_name': u'ver',\r\n           'url': u'https://github.com/facebook/osquery/releases/latest'}}\r\nURLTextSearcher: No value supplied for CURL_PATH, setting default value of: /usr/bin/curl\r\nURLTextSearcher: Found matching text (ver): 2.11.2\r\n{'Output': {u'ver': '2.11.2'}}\r\nURLDownloader\r\n{'Input': {'CURL_PATH': '/usr/bin/curl',\r\n           'url': u'https://osquery-packages.s3.amazonaws.com/darwin/osquery-2.11.2.pkg'}}\r\nURLDownloader: No value supplied for CHECK_FILESIZE_ONLY, setting default value of: False\r\nURLDownloader: Storing new Last-Modified header: Sun, 31 Dec 2017 02:26:47 GMT\r\nURLDownloader: Storing new ETag header: \"382adfe5fa70f8e8d84548b155f48cda\"\r\nURLDownloader: Downloaded /Users/wes/Library/AutoPkg/Cache/com.github.jbaker10.munki.osquery/downloads/osquery-2.11.2.pkg\r\n{'Output': {'download_changed': True,\r\n            'etag': '\"382adfe5fa70f8e8d84548b155f48cda\"',\r\n            'last_modified': 'Sun, 31 Dec 2017 02:26:47 GMT',\r\n            'pathname': u'/Users/wes/Library/AutoPkg/Cache/com.github.jbaker10.munki.osquery/downloads/osquery-2.11.2.pkg',\r\n            'url_downloader_summary_result': {'data': {'download_path': u'/Users/wes/Library/AutoPkg/Cache/com.github.jbaker10.munki.osquery/downloads/osquery-2.11.2.pkg'},\r\n                                              'summary_text': 'The following new items were downloaded:'}}}\r\nEndOfCheckPhase\r\n{'Input': {}}\r\n{'Output': {}}\r\nCodeSignatureVerifier\r\n{'Input': {'expected_authority_names': (\r\n    \"Developer ID Installer: Theodore Reed (B89LNTUADM)\",\r\n    \"Developer ID Certification Authority\",\r\n    \"Apple Root CA\"\r\n),\r\n           'input_path': u'/Users/wes/Library/AutoPkg/Cache/com.github.jbaker10.munki.osquery/downloads/osquery-2.11.2.pkg'}}\r\nCodeSignatureVerifier: Verifying installer package signature...\r\nCodeSignatureVerifier: Package \"osquery-2.11.2.pkg\":\r\nCodeSignatureVerifier:    Status: signed by a certificate trusted by Mac OS X\r\nCodeSignatureVerifier:    Certificate Chain:\r\nCodeSignatureVerifier:     1. Developer ID Installer: Theodore Reed (B89LNTUADM)\r\nCodeSignatureVerifier:        SHA1 fingerprint: 77 19 1E 49 10 ED 81 EC C1 80 52 D6 7E EB 3C 2E EF D6 72 7E\r\nCodeSignatureVerifier:        -----------------------------------------------------------------------------\r\nCodeSignatureVerifier:     2. Developer ID Certification Authority\r\nCodeSignatureVerifier:        SHA1 fingerprint: 3B 16 6C 3B 7D C4 B7 51 C9 FE 2A FA B9 13 56 41 E3 88 E1 86\r\nCodeSignatureVerifier:        -----------------------------------------------------------------------------\r\nCodeSignatureVerifier:     3. Apple Root CA\r\nCodeSignatureVerifier:        SHA1 fingerprint: 61 1E 5B 66 2C 59 3A 08 FF 58 D1 4A E2 24 52 D1 98 DF 6C 60\r\nCodeSignatureVerifier:\r\nCodeSignatureVerifier: Signature is valid\r\nCodeSignatureVerifier: Authority name chain is valid\r\n{'Output': {}}\r\nMunkiImporter\r\n{'Input': {'MUNKI_REPO': u'/Users/wes/munki',\r\n           'pkg_path': u'/Users/wes/Library/AutoPkg/Cache/com.github.jbaker10.munki.osquery/downloads/osquery-2.11.2.pkg',\r\n           'pkginfo': {\r\n    catalogs =     (\r\n        testing\r\n    );\r\n    category = Utilities;\r\n    description = \"osquery allows you to easily ask questions about your Linux and OSX infrastructure. Whether your goal is intrusion detection, infrastructure reliability, or compliance, osquery gives you the ability to empower and inform a broad set of organizations within your company.\";\r\n    developer = Facebook;\r\n    name = osquery;\r\n    \"unattended_install\" = 1;\r\n},\r\n           'repo_subdirectory': u'utilities/osquery'}}\r\nMunkiImporter: Copied pkginfo to /Users/wes/munki/pkgsinfo/utilities/osquery/osquery-2.11.2.plist\r\nMunkiImporter: Copied pkg to /Users/wes/munki/pkgs/utilities/osquery/osquery-2.11.2.pkg\r\n{'Output': {'munki_importer_summary_result': {'data': {'catalogs': u'testing',\r\n                                                       'name': u'osquery',\r\n                                                       'pkg_repo_path': u'utilities/osquery/osquery-2.11.2.pkg',\r\n                                                       'pkginfo_path': u'utilities/osquery/osquery-2.11.2.plist',\r\n                                                       'version': u'2.11.2'},\r\n                                              'report_fields': ['name',\r\n                                                                'version',\r\n                                                                'catalogs',\r\n                                                                'pkginfo_path',\r\n                                                                'pkg_repo_path'],\r\n                                              'summary_text': 'The following new items were imported into Munki:'},\r\n            'munki_info': {\r\n    \"_metadata\" =     {\r\n        \"created_by\" = wes;\r\n        \"creation_date\" = \"2018-03-12 16:53:14 +0000\";\r\n        \"munki_version\" = \"3.2.0.3476\";\r\n        \"os_version\" = \"10.13.4\";\r\n    };\r\n    autoremove = 0;\r\n    catalogs =     (\r\n        testing\r\n    );\r\n    category = Utilities;\r\n    description = \"osquery allows you to easily ask questions about your Linux and OSX infrastructure. Whether your goal is intrusion detection, infrastructure reliability, or compliance, osquery gives you the ability to empower and inform a broad set of organizations within your company.\";\r\n    developer = Facebook;\r\n    \"installed_size\" = 23350;\r\n    \"installer_item_hash\" = c28e561c9626e5fa2e7be06df73a63a96f1ca76c0e591ab492d3354745713476;\r\n    \"installer_item_location\" = \"utilities/osquery/osquery-2.11.2.pkg\";\r\n    \"installer_item_size\" = 9373;\r\n    \"minimum_os_version\" = \"10.5.0\";\r\n    name = osquery;\r\n    receipts =     (\r\n                {\r\n            \"installed_size\" = 23350;\r\n            packageid = \"com.facebook.osquery\";\r\n            version = \"2.11.2\";\r\n        }\r\n    );\r\n    \"unattended_install\" = 1;\r\n    \"uninstall_method\" = removepackages;\r\n    uninstallable = 1;\r\n    version = \"2.11.2\";\r\n},\r\n            'munki_repo_changed': True,\r\n            'pkg_repo_path': u'/Users/wes/munki/pkgs/utilities/osquery/osquery-2.11.2.pkg',\r\n            'pkginfo_repo_path': u'/Users/wes/munki/pkgsinfo/utilities/osquery/osquery-2.11.2.plist'}}\r\nReceipt written to /Users/wes/Library/AutoPkg/Cache/com.github.jbaker10.munki.osquery/receipts/osquery.munki-receipt-20180312-095314.plist\r\n\r\nThe following new items were imported into Munki:\r\n    Name     Version  Catalogs  Pkginfo Path                            Pkg Repo Path\r\n    ----     -------  --------  ------------                            -------------\r\n    osquery  2.11.2   testing   utilities/osquery/osquery-2.11.2.plist  utilities/osquery/osquery-2.11.2.pkg\r\n\r\nThe following new items were downloaded:\r\n    Download Path\r\n    -------------\r\n    /Users/wes/Library/AutoPkg/Cache/com.github.jbaker10.munki.osquery/downloads/osquery-2.11.2.pkg\r\n```"},"comment":{"url":"https://api.github.com/repos/autopkg/jbaker10-recipes/issues/comments/372437910","html_url":"https://github.com/autopkg/jbaker10-recipes/pull/7#issuecomment-372437910","issue_url":"https://api.github.com/repos/autopkg/jbaker10-recipes/issues/7","id":372437910,"user":{"login":"weswhet","id":6865785,"avatar_url":"https://avatars1.githubusercontent.com/u/6865785?v=4","gravatar_id":"","url":"https://api.github.com/users/weswhet","html_url":"https://github.com/weswhet","followers_url":"https://api.github.com/users/weswhet/followers","following_url":"https://api.github.com/users/weswhet/following{/other_user}","gists_url":"https://api.github.com/users/weswhet/gists{/gist_id}","starred_url":"https://api.github.com/users/weswhet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weswhet/subscriptions","organizations_url":"https://api.github.com/users/weswhet/orgs","repos_url":"https://api.github.com/users/weswhet/repos","events_url":"https://api.github.com/users/weswhet/events{/privacy}","received_events_url":"https://api.github.com/users/weswhet/received_events","type":"User","site_admin":false},"created_at":"2018-03-12T19:40:41Z","updated_at":"2018-03-12T19:40:41Z","author_association":"CONTRIBUTOR","body":"@clburlison yes he does but it pulls pre-releases @jbaker10's download recipe pulls only latest releases. \r\n"}}
{"actor":{"display_login":"weswhet"}}