<?xml version="1.0" standalone='no'?>
<!DOCTYPE manpage SYSTEM "/usr/share/xmltoman/xmltoman.dtd">
<?xml-stylesheet type="text/xsl" href="/usr/share/xmltoman/xmltoman.xsl" ?>

<!--
Copyright (C) 2016-2022 Greenbone AG

SPDX-License-Identifier: AGPL-3.0-or-later

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
-->

<!-- greenbone-certdata-sync manpage -->

<manpage name="greenbone-certdata-sync" section="8" desc="Greenbone Vulnerability Manager SCAP sync script">

  <synopsis>
    <cmd>greenbone-certdata-sync OPTIONS</cmd>
  </synopsis>

  <description>
    <p>
      Update the CERT data from the feed server.
    </p>
  </description>

  <options>
    <option>
      <p><opt>--version</opt></p>
      <optdesc><p>Print version and exit.</p></optdesc>
    </option>

    <option>
      <p><opt>--identify</opt></p>
      <optdesc><p>Print machine readable identity information and exit.</p></optdesc>
    </option>

    <option>
      <p><opt>--describe</opt></p>
      <optdesc><p>Print human readable description.</p></optdesc>
    </option>

    <option>
      <p><opt>--feedversion</opt></p>
      <optdesc><p>Print feed version and exit.</p></optdesc>
    </option>

    <option>
      <p><opt>--help</opt></p>
      <optdesc><p>Print help message and exit.</p></optdesc>
    </option>

    <option>
      <p><opt>--refresh</opt></p>
      <optdesc><p>Only refresh the database.  Do not fetch any files.</p></optdesc>
    </option>

    <option>
      <p><opt>--migrate</opt></p>
      <optdesc>
        <p>Only migrate the database.  Do not fetch any files.</p>
      </optdesc>
    </option>

    <option>
      <p><opt>--selftest</opt></p>
      <optdesc>
        <p>Perform self-test and exit.</p>
      </optdesc>
    </option>

    <option>
      <p><opt>--feedcurrent</opt></p>
      <optdesc><p>Check whether feed is current.</p></optdesc>
    </option>

    <option>
      <p><opt>--database=<arg>DATABASE</arg></opt></p>
      <optdesc><p>The name of the database.  For Posgres backend only.  Default is tasks.</p></optdesc>
    </option>
  </options>

  <section name="SEE ALSO">
    <p>
      <manref name="gvmd" section="8"/>,
      <manref name="greenbone-scapdata-sync" section="8"/>
    </p>
  </section>

  <section name="MORE INFORMATION">
    <p>
      The canonical places where you will find more information
      about the Greenbone Vulnerability Management are:

      <url href="https://community.greenbone.net"/>
        (Community Portal)

      <url href="https://github.com/greenbone"/>
        (Development Platform)

      <url href="https://www.greenbone.net"/>
        (Greenbone Website)
    </p>
  </section>

  <section name="COPYRIGHT">
    <p>
      The Greenbone Vulnerability Manager is released under the GNU GPL, version 2,
      or, at your option, any later version.
    </p>
  </section>

</manpage>
