Giter Site home page Giter Site logo

tracker's People

Contributors

adelevie avatar alex avatar arctansusan avatar buckley-w-david avatar courtneycl avatar dependabot[bot] avatar dsamojlenko avatar ethanljf avatar gbinal avatar greggoryelton avatar ianlee1521 avatar jeremiak avatar jmcarp avatar jtexnl avatar konklone avatar micahsaul avatar nickbristow avatar obrien-j avatar ptd-tbs avatar samsadasivan avatar sayahub avatar scottoneal avatar siccovansas avatar snyk-bot avatar tdlowden avatar titanous avatar tswicegood avatar uncompiled avatar xtine avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tracker's Issues

Formalize domain list

Current domain list has quite a few domains and organizations that likely don't need to be included, since our current list is what will be going into beta, it needs to be cleaned up

Improve error handling of tracker scanning

When tracker crashes, there is limited logging to support troubleshooting. Suggest bundling cached scan results so that if/when tracker crashes, there is a log of what data caused it to crash.

Tracker does not include option to drop old domains and/or owners

Tracker Insert process is used to update the database with a new domains.csv, ciphers.csv or owners.csv. Updates are appended to the existing database. If one of the csv files removes an entry, the data still remains in the database. Thus, there is no option to remove old domains, ciphers, owners that are no longer valid.

A manual process is required to drop the tables before the new files are uploaded using the Tracker Insert process. Scans would then be using the latest information when it is pulled from the database prior to execution.

Maintain historical records to measure compliance / improvements over time.

Just throwing this in as a place holder, specifically within tracker/data/cli.py def run,
we're currently nuking the entire dataset at runtime which while great for freshness, is stealing away some valuable historical data.

Suggest we take a look at the backend and see how we could at least set aside previous scan results/reports/etc, even if there is no clean way to present the data currently.

#totallynotworking

Runtime Error - Update SSLZE

Following issue occurs:

File "/opt/apps/tracker/.venv/lib/python3.6/site-packages/nassl/ssl_client.py", line 165, in set_underlying_socket
raise RuntimeError('A socket was already set')
RuntimeError: A socket was already set

Proposed resolution is update the SSLYZE component.

owner without matching subdomain in domains.csv causes keyerror

https://github.com/cds-snc/tracker/blob/master/data/processing.py#L298

Probably just want to wrap this in a try/except, and or do a quick check 'if in' to determine whether this even a valid ownership domain before continuing.

reproduce:

canada.ca in owner, and not in the domains list.

Assuming we control the input, I'd say not a huge deal, but since we don't, we probably want to assume faulty inbound data and recover gracefully where we can.

(From cds-snc/pulse#139)

Redirect issue - endpoint choice

Use case:

  1. Service has all endpoints live (http, httpwww, https, httpswww)
  2. http, httpwww and https endpoints are configure properly and immediately redirect to the secure eventual endpoint
  3. httpswww downgrade before reaching the eventual secure endpoint

Even if we feed the scanner with a root endpoint that is secured and properly redirect to the eventual secure endpoint, tracker seems to set the canonical url to httpswww. Where there are httpswww configuration issues, it significantly impact the root domain scan result because the httpswww is chosen.

Question:
should Tracker choose to scan the secure root endpoint if Live instead of httpswww?

local-development docs touchup

Incorrect relative path

pip3 install -r ../../domain-scan/requirements.txt
pip3 install -r ../../domain-scan/requirements-scanners.txt

directory user would be at this step would generate the wrong path

export DOMAIN_SCAN_PATH=$(pwd)/domain-scan/scan
export DOMAIN_GATHER_PATH=$(pwd)/domain-scan/gather

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.