Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove using "host_start" and "host_end" in RFPs. #21

Merged
merged 2 commits into from
Mar 8, 2018

Conversation

janowagner
Copy link
Member

@janowagner janowagner commented Feb 25, 2018

These elements are going to be removed and are redundant
anyway. The RFPs are patched to not work with them and rather
use host/start and host/end instead.

  • report_formats/sourcefire/sourcefire.xsl
    (template match="host"): New, replace host_start to create "AddHost" output.
    (template match="report"): Apply "host", not "host_start".
    (template match="host_start", template match="host_end"): Removed,
    not needed anymore to filter out.

  • src/report_formats/HTML/HTML.xsl: Use "host" instead of "host_start"
    to count and iterate over hosts.

  • src/report_formats/LaTeX/latex.xsl (name="results-overview"): Use
    "host" instead of "host_start" to trigger host authentication success.

  • src/report_formats/NBE/NBE.xsl (match="report"): Instead of
    host_start use host/start. Don't try to consider host_end
    which was going wrong anyway (equal to host_start). Rather use
    host/end. This fixes also the bug about the host_end being equal
    to host_start. Call template "ctime" properly with a param.

  • src/report_formats/TXT/TXT.xsl (template name="real-report"):
    Instead of "host_start" use "host" for count of hosts.

  • src/report_formats/Verinice_ISM/Verinice_ISM.xsl (match="/",
    match="report/host_start"):
    Use "host" instead of "host_start" to trigger host iterator.

  • src/report_formats/Verinice_ISM/Verinice_ITG.xsl (match="/",
    match="report/host_start"):
    Use "host" instead of "host_start" to trigger host iterator.

These elements are going to be removed and are redundant
anyway. The RFPs are patched to work with them and rather
ise host/start and host/end instead.

* report_formats/sourcefire/sourcefire.xsl
  (template match="host"): New, replace host_start to create "AddHost" output.
  (template match="report"): Apply "host", not "host_start".
  (template match="host_start", template match="host_end"): Removed,
  not needed anymore to filter out.

* src/report_formats/HTML/HTML.xsl: Use "host" instead of "host_start"
  to count and iterate over hosts.

* src/report_formats/LaTeX/latex.xsl (name="results-overview"): Use
  "host" instead of "host_start" to trigger host authentication success.

* src/report_formats/NBE/NBE.xsl (match="report"): Instead of
  host_start use host/start. Don't try to consider host_end
  which was going wrong anyway (equal to host_start). Rather use
  host/end. This fixes also the bug about the host_end being equal
  to host_start. Call template "ctime" properly with a param.

* src/report_formats/TXT/TXT.xsl (template name="real-report"):
  Instead of "host_start" use "host" for count of hosts.

* src/report_formats/Verinice_ISM/Verinice_ISM.xsl (match="/",
  match="report/host_start"):
  Use "host" instead of "host_start" to trigger host iterator.

* src/report_formats/Verinice_ISM/Verinice_ITG.xsl (match="/",
  match="report/host_start"):
  Use "host" instead of "host_start" to trigger host iterator.
@janowagner janowagner requested a review from timopollmeier March 8, 2018 09:16
@timopollmeier timopollmeier merged commit 57cc9ad into greenbone:master Mar 8, 2018
timopollmeier added a commit that referenced this pull request May 5, 2022
Backport of #1816 + SQL extension changes from pg-gvm PR #21.
Merge pull request #1821 from greenbone/mergify/bp/stable/pr-1816
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants