Giter Site home page Giter Site logo

Comments (3)

p0w3rsh3ll avatar p0w3rsh3ll commented on June 12, 2024 1

Indeed, here's how to reproduce:

$Error.Clear()
Invoke-RestMethod -Method get -Uri 'https://api.msrc.microsoft.com/cvrf/v2.0/Updates?$filter=InitialReleaseDate gt 2023-01-10T08:00:00Z'
$Error| fl * -Force

It returns 'Response status code does not indicate success: 500 (CVRF API Error) ' and says 'Something has gone wrong, please try again later.'

It's clearly a bug, because the official API ref https://api.msrc.microsoft.com/cvrf/v2.0/swagger/index says:

This list can be manipulated using OData URL filtering on current and initial release dates.

The Odata part is correct because if there's wrong filter, it says

$Error.Clear()
Invoke-RestMethod -Method get -Uri 'https://api.msrc.microsoft.com/cvrf/v2.0/Updates?$filter=InitialReleaseData gt 2023-01-10T08:00:00Z'
$Error| fl * -Force

Error 400

{"error":{"code":"","message":"OData URI failed validation Could not find a property named 'InitialReleaseData' on type 'CvrfWeb.Models.Update'."}}

from msrc-microsoft-security-updates-api.

redbaron4 avatar redbaron4 commented on June 12, 2024

Ran into this error trying to figure out a way to get only latest updates

Calling https://api.msrc.microsoft.com/Updates?$filter=CurrentReleaseDate ge 2018-01-01T00:00:00Z returns 500 error with message "Something has gone wrong, please try again later." while specifying wrong filter returns error 400 with correct error message

from msrc-microsoft-security-updates-api.

MateuszBelczowski avatar MateuszBelczowski commented on June 12, 2024

As of January 2024, it appears that the issue is still present – we are unable to filter by the CurrentReleaseDate parameter.

from msrc-microsoft-security-updates-api.

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.