Skip to content

Instantly share code, notes, and snippets.

@dLobatog
Created March 27, 2019 11:58
Show Gist options
  • Select an option

  • Save dLobatog/e641a8788172a169c50acb2f1510dd5f to your computer and use it in GitHub Desktop.

Select an option

Save dLobatog/e641a8788172a169c50acb2f1510dd5f to your computer and use it in GitHub Desktop.
Request URL: https://ci.foo.redhat.com:1337/api/remediations/v1/resolutions
Request Method: POST
Status Code: 500 Internal Server Error
Remote Address: 127.0.0.1:1337
Referrer Policy: no-referrer-when-downgrade
access-control-allow-credentials: true
access-control-allow-headers: x-rh-insights-use-path-prefix
access-control-allow-methods: GET, POST, PUT, DELETE, OPTIONS, HEAD, PATCH
access-control-allow-origin: https://access.ci.cloud.paas.upshift.redhat.com
connection: close
content-type: application/json; charset=utf-8
date: Wed, 27 Mar 2019 11:57:28 GMT
etag: W/"d1-kQbHwLNYw7Nc2dMkX4iTJFlowQs"
server: openresty/1.13.6.1
transfer-encoding: chunked
x-fakamai-app-hint: API
x-fakamai-downsteam-host: https://api-gateway-ci.5a9f.insights-dev.openshiftapps.com
x-fakamai-env: ci
x-powered-by: Express
x-rh-insights-request-id: 077ed8be5a0045c7a4631bb755c33d87
Accept: */*
Accept-Encoding: gzip, deflate, br
Accept-Language: es-ES,es;q=0.9,en-US;q=0.8,en;q=0.7,ja-JP;q=0.6,ja;q=0.5,und;q=0.4
Cache-Control: no-cache
Connection: keep-alive
Content-Length: 9705
Content-Type: application/json; chartset=utf-8
Cookie: _pendo_visitorId.f210c485-387f-43ad-4eee-f55bab22507f=7167547; rh_omni_tc=701f2000001Css0AAC; _pendo_accountId.f210c485-387f-43ad-4eee-f55bab22507f=1460290; AMCVS_945D02BE532957400A490D4C%40AdobeOrg=1; s_cc=true; bd2e829019cc5851647126f4f0834941=0286841d93d0b1f907c48aa31fc8f226; _pendo_meta.f210c485-387f-43ad-4eee-f55bab22507f=524744469; check=true; dmdbase_cdc=DBSET; AAMC_redhat_0=REGION%7C7%7CAMSYNCSOP%7C%7CAMSYNCS%7C; dtm_prevURL=https%3A%2F%2Fsso.redhat.com%2Fauth%2Frealms%2Fredhat-external%2Fprotocol%2Fopenid-connect%2Fauth%3Fclient_id%3Dcustomer-portal%26redirect_uri%3Dhttps%253A%252F%252Faccess.redhat.com%252Finsights%252Fplatform%252Fcompliance%252Fpolicies%26state%3Deb93721c-9b8d-4b71-8d19-3103b1c19155%26response_mode%3Dquery%26response_type%3Dcode%26scope%3Dopenid%26nonce%3D89e93ae1-947c-4036-81ca-7903f10530ce; dtm_prevProp=prod.foo.redhat.com%7Caccess.redhat.com%7Caccess.redhat.com%7Caccess.redhat.com%7Caccess.redhat.com; sat_prevExtCmp=701f2000001Css0AAC; sat_ppv=100; mbox=PC#e5cbe99eebcd46b3b0d52776b14d74c6.26_18#1616931043|session#242e03bf06fb4c72bccd9895c9a98009#1553688261; AMCV_945D02BE532957400A490D4C%40AdobeOrg=1406116232%7CMCIDTS%7C17982%7CMCMID%7C63320414480950258693167319850807311181%7CMCAAMLH-1554291200%7C7%7CMCAAMB-1554291200%7C6G1ynYcLPuiQxYZrsz_pkqfLG9yMXBpb2zX5dvJdYQJzPXImdj0y%7CMCOPTOUT-1553693443s%7CNONE%7CMCAID%7CNONE%7CvVersion%7C2.5.0%7CMCCIDH%7C365844119; sat_prevPage=sso.qa.redhat.com%7Cauth%7Crealms%7Credhat-external%7Cprotocol%7Copenid-connect%7Cauth; s_sq=redhatglobaldtmstage%3D%2526c.%2526a.%2526activitymap.%2526page%253Dsso.qa.redhat.com%25257Cauth%25257Crealms%25257Credhat-external%25257Cprotocol%25257Copenid-connect%25257Cauth%2526link%253DLOG%252520IN%2526region%253Dkc-form-login%2526pageIDType%253D1%2526.activitymap%2526.a%2526.c%2526pid%253Dsso.qa.redhat.com%25257Cauth%25257Crealms%25257Credhat-external%25257Cprotocol%25257Copenid-connect%25257Cauth%2526pidt%253D1%2526oid%253DLOG%252520IN%2526oidt%253D3%2526ot%253DSUBMIT; rh_user=dlobatog%40redhat.com|Daniel|B|; rh_locale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GF0LmNvbSIsImlzX29yZ19hZG1pbiI6ZmFsc2UsInVzZXJuYW1lIjoiZGxvYmF0b2dAcmVkaGF0LmNvbSJ9.m8XShYEVihBrdA-O70Ps8q1OSKtIZ0pDMJ6hzi9sC0ZQEmvVm-FTVr9icZSTIt4FPXJqgI87Wod3Ossk7UpQx7O15ul_atXRs90Lf31coFSHlDi1a_5WaZaYGiiw2vSw8XJgGRzGAHpATw5ERtMQtHSOnN7qX3uw3Younu9HoR2ZHpsCpvxOgMU0KEuFlGl3AOaVSbPp54Sg4W3liH0z9ubpAJdmn3pXEv6_A2LqqNhfMgQ_mjse0GKVWQRzt_voNmjNCvIGF0OQaxHSPdSguxuCO5YojeeGPwZXbOqZixvry6uo1ntD9eQ9w4U_g-9Blm4T3y1psASHdFh59qgORL5X7vw31jry1mD8yxczWiPq4qSZer-Hz4H8vLin9yDTYRKysLGHIKLd5TmjjUWCEZO2X3UjbUC4Cy9FausksGb6-0-sz0QwnMKBQoOHPoL1h5gFdZBAXJuqG46Qy3yXu91BnPTtwP6Psr24IRo5V1-8QsWsYxjZ3EVPRYLqAICvmauqVZIbRZanOuQvM_KP5yE2pQ40QfjUMfY9nGC6YilzWshGyPfM0R6WYXJMWconA9vRn6RLhoGm0eM4wMxMrRnI-qIuoLuoSBJs9UOlMnZuJHJftTThiJAPoLlfNw2PaecfzOLtnlkx-AVRwmrTJVNL2MvvDGSGzkDU4Ax3mf4
DNT: 1
Host: ci.foo.redhat.com:1337
Origin: https://ci.foo.redhat.com:1337
Pragma: no-cache
Referer: https://ci.foo.redhat.com:1337/rhcs/compliance/systems
User-Agent: Mozilla/5.0 (X11; Fedora; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36
{"issues":["ssg:rhel7|standard|xccdf_org.ssgproject.content_rule_sshd_set_keepalive","ssg:rhel7|standard|xccdf_org.ssgproject.content_rule_sshd_disable_empty_passwords","ssg:rhel7|standard|xccdf_org.ssgproject.content_rule_sshd_disable_root_login","ssg:rhel7|standard|xccdf_org.ssgproject.content_rule_sshd_set_idle_timeout","ssg:rhel7|standard|xccdf_org.ssgproject.content_rule_chronyd_or_ntpd_specify_remote_server","ssg:rhel7|standard|xccdf_org.ssgproject.content_rule_service_chronyd_or_ntpd_enabled","ssg:rhel7|standard|xccdf_org.ssgproject.content_rule_set_firewalld_default_zone","ssg:rhel7|standard|xccdf_org.ssgproject.content_rule_display_login_attempts","ssg:rhel7|standard|xccdf_org.ssgproject.content_rule_no_direct_root_logins","ssg:rhel7|standard|xccdf_org.ssgproject.content_rule_no_empty_passwords","ssg:rhel7|standard|xccdf_org.ssgproject.content_rule_accounts_maximum_age_login_defs","ssg:rhel7|standard|xccdf_org.ssgproject.content_rule_accounts_password_minlen_login_defs","ssg:rhel7|standard|xccdf_org.ssgproject.content_rule_accounts_minimum_age_login_defs","ssg:rhel7|standard|xccdf_org.ssgproject.content_rule_accounts_root_path_dirs_no_write","ssg:rhel7|standard|xccdf_org.ssgproject.content_rule_ensure_gpgcheck_never_disabled","ssg:rhel7|standard|xccdf_org.ssgproject.content_rule_rpm_verify_hashes","ssg:rhel7|standard|xccdf_org.ssgproject.content_rule_rpm_verify_permissions","ssg:rhel7|standard|xccdf_org.ssgproject.content_rule_aide_build_database","ssg:rhel7|standard|xccdf_org.ssgproject.content_rule_auditd_data_retention_max_log_file","ssg:rhel7|standard|xccdf_org.ssgproject.content_rule_auditd_data_retention_space_left_action","ssg:rhel7|standard|xccdf_org.ssgproject.content_rule_auditd_data_retention_num_logs","ssg:rhel7|standard|xccdf_org.ssgproject.content_rule_auditd_audispd_syslog_plugin_activated","ssg:rhel7|standard|xccdf_org.ssgproject.content_rule_auditd_data_retention_max_log_file_action","ssg:rhel7|standard|xccdf_org.ssgproject.content_rule_auditd_data_retention_admin_space_left_action","ssg:rhel7|standard|xccdf_org.ssgproject.content_rule_auditd_data_retention_action_mail_acct","ssg:rhel7|standard|xccdf_org.ssgproject.content_rule_audit_rules_kernel_module_loading","ssg:rhel7|standard|xccdf_org.ssgproject.content_rule_audit_rules_time_watch_localtime","ssg:rhel7|standard|xccdf_org.ssgproject.content_rule_audit_rules_time_adjtimex","ssg:rhel7|standard|xccdf_org.ssgproject.content_rule_audit_rules_time_settimeofday","ssg:rhel7|standard|xccdf_org.ssgproject.content_rule_audit_rules_time_clock_settime","ssg:rhel7|standard|xccdf_org.ssgproject.content_rule_audit_rules_time_stime","ssg:rhel7|standard|xccdf_org.ssgproject.content_rule_audit_rules_dac_modification_setxattr","ssg:rhel7|standard|xccdf_org.ssgproject.content_rule_audit_rules_dac_modification_lchown","ssg:rhel7|standard|xccdf_org.ssgproject.content_rule_audit_rules_dac_modification_fsetxattr","ssg:rhel7|standard|xccdf_org.ssgproject.content_rule_audit_rules_dac_modification_lremovexattr","ssg:rhel7|standard|xccdf_org.ssgproject.content_rule_audit_rules_dac_modification_fchmod","ssg:rhel7|standard|xccdf_org.ssgproject.content_rule_audit_rules_dac_modification_fchown","ssg:rhel7|standard|xccdf_org.ssgproject.content_rule_audit_rules_dac_modification_chmod","ssg:rhel7|standard|xccdf_org.ssgproject.content_rule_audit_rules_dac_modification_fchmodat","ssg:rhel7|standard|xccdf_org.ssgproject.content_rule_audit_rules_dac_modification_removexattr","ssg:rhel7|standard|xccdf_org.ssgproject.content_rule_audit_rules_dac_modification_chown","ssg:rhel7|standard|xccdf_org.ssgproject.content_rule_audit_rules_dac_modification_lsetxattr","ssg:rhel7|standard|xccdf_org.ssgproject.content_rule_audit_rules_dac_modification_fremovexattr","ssg:rhel7|standard|xccdf_org.ssgproject.content_rule_audit_rules_dac_modification_fchownat","ssg:rhel7|standard|xccdf_org.ssgproject.content_rule_audit_rules_file_deletion_events","ssg:rhel7|standard|xccdf_org.ssgproject.content_rule_audit_rules_unsuccessful_file_modification","ssg:rhel7|standard|xccdf_org.ssgproject.content_rule_
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment