Bug #2588
appinspect failures
Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
01/16/2020
Due date:
% Done:
0%
Description
FAILURE: web.conf found with a `pattern` exposed that does not correspond to any `match` stanza in restmap.conf. Apps should only expose endpoints that they define. Pattern: `/admin/macros/response_codes_to_alert_on*`. Please remove/edit this stanza: [expose:website_monitoring_response_codes_macro]. File: default/web.conf FAILURE: web.conf found with a `pattern` exposed that does not correspond to any `match` stanza in restmap.conf. Apps should only expose endpoints that they define. Pattern: `/admin/macros/response_time_threshold*`. Please remove/edit this stanza: [expose:website_monitoring_response_time_macro]. File: default/web.conf FAILURE: web.conf found with a `pattern` exposed that does not correspond to any `match` stanza in restmap.conf. Apps should only expose endpoints that they define. Pattern: `/admin/website_monitoring/*`. Please remove/edit this stanza: [expose:website_monitoring]. File: default/web.conf
History
#1 Updated by Luke Murphey almost 5 years ago
Questions:
- What happens when I remove the web.conf entries
- Do other apps need to do the same thing?
- Are there alternative endpoints what would work?
- For macros, yes
- For inputs, no
- What are the failures?
- [expose:website_monitoring] in web.conf
- appserver/modules
- authorize.conf
Os: *
Solutions:- I could write a REST endpoint for passing requests to the input endpoint