class Mdm::WebSite
A Web Site running on a {#service}.
Public Instance Methods
form_count()
click to toggle source
Number of {#web_forms}.
@return [Integer]
# File app/models/mdm/web_site.rb, line 72 def form_count web_forms.size end
page_count()
click to toggle source
Number of {#web_pages}.
@return [Integer]
# File app/models/mdm/web_site.rb, line 79 def page_count web_pages.size end
to_url(ignore_vhost=false)
click to toggle source
Converts this web site to its URL, including scheme, host and port.
@param ignore_vhost [Boolean] if `false` use {#vhost} for host portion of URL. If `true` use {Mdm::Host#address} of
{Mdm::Service#host} of {#service} for host portion of URL.
vuln_count()
click to toggle source
Number of {#web_vulns}.
@return [Integer]
# File app/models/mdm/web_site.rb, line 107 def vuln_count web_vulns.size end