mandatoryprogrammer / mandatoryprogrammer/sonar.js

Schema Redesign

Open
#14 4 comments 0 reactions 1 assignee View on GitHub

@mandatoryprogrammer is already working on this.

Since Sep 7, 2015.

enhancement
Dominant language
JavaScript
Stars
551
Forks
76
PR merge metrics
No merged PRs in 30d

Description

Updated JSON schema to remove ambiguity around what constitutes a "fingerprint," and allow for us to more easily add more attributes:
### Single "Fingerprint" Object

```
{
"name": "ASUS RT-N66U",
"created": "2015-09-07 01:02:10.229153",
"resources": ["/images/New_ui/asustitle.png","/images/loading.gif","/images/alertImg.png","/images/New_ui/networkmap/line_one.png","/images/New_ui/networkmap/lock.png","/images/New_ui/networkmap/line_two.png","/index_style.css","/form_style.css","/NM_style.css","/other.css"],
}
```
- **name** is a string
- **created** is a UTC timestamp when the fingerprint was created
- **resources** is a list of strings, which are the paths of web resources we're going to attempt to scan for
### List of Fingerprints

```
[
{
"name": "ASUS RT-N66U",
"created": "2015-09-07 01:02:10.229153",
"resources": ["/images/New_ui/asustitle.png","/images/loading.gif","/images/alertImg.png","/images/New_ui/networkmap/line_one.png","/images/New_ui/networkmap/lock.png","/images/New_ui/networkmap/line_two.png","/index_style.css","/form_style.css","/NM_style.css","/other.css"],

},
{
"name": "Linksys WRT54G",
"created": "2015-08-07 01:02:10.229153",
"resources": ["/UILinksys.gif","/UI_10.gif","/UI_07.gif","/UI_06.gif","/UI_03.gif","/UI_02.gif","/UI_Cisco.gif","/style.css"],

},
]
```

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.