Skip to content
This repository was archived by the owner on Jul 16, 2026. It is now read-only.

Scan wiki pages

Marco Rosa edited this page Jun 12, 2020 · 6 revisions

How to scan a wiki page

  1. Install the dependencies (possibly using a virtualenv)

  2. Instantiate the client

    from sccsclient.cli import Client
    c = Client(host='xxx.xxx.xxx.xxx', port=NUM, dbname='mydbname', user='myusername', password='mypassword')
  3. [OPTIONAL] Add the repository

    c.add_repo(url='https://github.com/user/repo')
  4. Launch the scan of the wiki pages of a repository

    new_discoveries = c.scan_wiki(repo_url=REPO_URL,
                                  category=CATEGORY,
                                  scanner=SCANNER,
                                  models=MODELS,
                                  exclude=NO_RULES,
                                  visualize=VERBOSE)

    Wiki pages are scanned in the same way that repositories are (refer to Scan a repository).

Clone this wiki locally