{"action":"created","issue":{"url":"https://api.github.com/repos/OpenSCAP/openscap/issues/423","repository_url":"https://api.github.com/repos/OpenSCAP/openscap","labels_url":"https://api.github.com/repos/OpenSCAP/openscap/issues/423/labels{/name}","comments_url":"https://api.github.com/repos/OpenSCAP/openscap/issues/423/comments","events_url":"https://api.github.com/repos/OpenSCAP/openscap/issues/423/events","html_url":"https://github.com/OpenSCAP/openscap/issues/423","id":158663684,"number":423,"title":"openscap reports wrong bash script syntax to STDOUT","user":{"login":"phracek","id":3416672,"avatar_url":"https://avatars.githubusercontent.com/u/3416672?v=3","gravatar_id":"","url":"https://api.github.com/users/phracek","html_url":"https://github.com/phracek","followers_url":"https://api.github.com/users/phracek/followers","following_url":"https://api.github.com/users/phracek/following{/other_user}","gists_url":"https://api.github.com/users/phracek/gists{/gist_id}","starred_url":"https://api.github.com/users/phracek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phracek/subscriptions","organizations_url":"https://api.github.com/users/phracek/orgs","repos_url":"https://api.github.com/users/phracek/repos","events_url":"https://api.github.com/users/phracek/events{/privacy}","received_events_url":"https://api.github.com/users/phracek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-06-06T12:15:51Z","updated_at":"2016-10-13T16:18:13Z","closed_at":null,"body":"Here is reference to bugzilla:\r\nhttps://bugzilla.redhat.com/show_bug.cgi?id=1309491\r\n\r\nShortly:\r\nLet's say, you have a check script with wrong BASH syntax.\r\nDuring an assessment in XCCDF XML file you can see something like:\r\n\r\n~~~\r\n            <ns0:check-import import-name=\"stdout\">/usr/share/preupgrade/common.sh: line 226: syntax error near unexpected token `}'\r\n    /usr/share/preupgrade/common.sh: line 226: `}'\r\n    /root/preupgrade/RHEL6_7/databases/mysql/configuration_changes/configuration.sh: line 24: check_rpm_to: command not found\r\n    /root/preupgrade/RHEL6_7/databases/mysql/configuration_changes/configuration.sh: line 29: check_root: command not found\r\n    /root/preupgrade/RHEL6_7/databases/mysql/configuration_changes/configuration.sh: line 31: ../mysql-common.sh: No such file or directory\r\n~~~\r\n\r\nWhich should be in stderr. And not in stdout."},"comment":{"url":"https://api.github.com/repos/OpenSCAP/openscap/issues/comments/253562587","html_url":"https://github.com/OpenSCAP/openscap/issues/423#issuecomment-253562587","issue_url":"https://api.github.com/repos/OpenSCAP/openscap/issues/423","id":253562587,"user":{"login":"mpreisler","id":753153,"avatar_url":"https://avatars.githubusercontent.com/u/753153?v=3","gravatar_id":"","url":"https://api.github.com/users/mpreisler","html_url":"https://github.com/mpreisler","followers_url":"https://api.github.com/users/mpreisler/followers","following_url":"https://api.github.com/users/mpreisler/following{/other_user}","gists_url":"https://api.github.com/users/mpreisler/gists{/gist_id}","starred_url":"https://api.github.com/users/mpreisler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpreisler/subscriptions","organizations_url":"https://api.github.com/users/mpreisler/orgs","repos_url":"https://api.github.com/users/mpreisler/repos","events_url":"https://api.github.com/users/mpreisler/events{/privacy}","received_events_url":"https://api.github.com/users/mpreisler/received_events","type":"User","site_admin":false},"created_at":"2016-10-13T16:18:13Z","updated_at":"2016-10-13T16:18:13Z","body":"See https://github.com/OpenSCAP/openscap/pull/555"}}
{"actor":{"display_login":"mpreisler"}}