Code Monkey home page Code Monkey logo

Comments (1)

MaineK00n avatar MaineK00n commented on June 12, 2024

@maxenced

Thanks for the good questions!
This was a mistake in the document.
Referring to your json, you should change it as follows.

26c26
<   "release": "Windows 10 Version 22H2 for x64-based System",
---
>   "release": "Windows 10 Version 22H2 for x64-based Systems",

Running the corrected document, it looks like this

$ cat windows.json
{
  "family": "windows",
  "release": "Windows 10 Version 22H2 for x64-based Systems",
  "runningKernel": {
    "version": "10.0.19045.2546"
  },
  "windowsKB": {
    "applied": [
      "5020030"
    ],
    "unapplied": [
      "5022834"
    ]
  }
}

$ curl -X POST -H "Content-Type: application/json" -d @windows.json http://127.0.0.1:5515/vuls | jq
[
  {
    "jsonVersion": 0,
    "lang": "",
    "serverUUID": "",
    "serverName": "",
    "family": "windows",
    "release": "Windows 10 Version 22H2 for x64-based Systems",
    "container": {
      "containerID": "",
      "name": "",
      "image": "",
      "type": "",
      "uuid": ""
    },
    "platform": {
      "name": "",
      "instanceID": ""
    },
    "scannedAt": "0001-01-01T00:00:00Z",
    "scanMode": "",
    "scannedVersion": "",
    "scannedRevision": "",
    "scannedBy": "",
    "scannedVia": "",
    "reportedAt": "2024-03-26T19:10:17.762998304+09:00",
    "reportedVersion": "",
    "reportedRevision": "",
    "reportedBy": "",
    "errors": null,
    "warnings": null,
    "scannedCves": {
      "ADV220005": {
        "cveID": "ADV220005",
        "confidences": [
          {
            "score": 100,
            "detectionMethod": "WindowsUpdateSearch"
          }
        ],
        "distroAdvisories": [
          {
            "advisoryID": "KB5022282",
            "severity": "",
            "issued": "0001-01-01T00:00:00Z",
            "updated": "0001-01-01T00:00:00Z",
            "description": "Microsoft Knowledge Base"
          }
        ],
        "cveContents": {
          "microsoft": [
            {
              "type": "microsoft",
              "cveID": "ADV220005",
              "title": "Guidance on Microsoft Signed Drivers Being Used Maliciously",
...

from vuls.

Related Issues (20)

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.