Comments (3)
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.
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.
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)
- Incorrect supercedence chain in several cases
- Get-MsrcCvrfDocument -ID 2022-Jan not returning expected results HOT 1
- https://api.msrc.microsoft.com/cvrf/v2.0/swagger/index returning 503 HOT 1
- APIs in python HOT 4
- This repo is missing important files HOT 1
- URL to get KB details https://support.microsoft.com/app/content/api/content/help/en-us/5018410 no longer working HOT 1
- Regarding https://api.msrc.microsoft.com/sug/v2.0/ HOT 2
- Servicing stack update SSUs missing from MSRC KB5011570 HOT 1
- Me
- April updates is showing January updates for this release as well HOT 1
- KB5022303 Listed as Remediation for Windows Server 2022 HOT 1
- CVE to KB mapping, revised date HOT 1
- Sept 12th after release, API didn't return full set of MSRC data HOT 3
- Any tips on how to save results/data as a flattened csv?
- Get-MsrcCvrfAffectedSoftware Returns to Remediation KB for Windows Server 2022 in 2023-Sep CvrfDoc
- Breaking change for GET /Updates and GET /Updates('{key}') HOT 1
- The cmdlet appears to have broke on the afternoon of 2/26 HOT 1
- some os FixedBuild is not right
- https://api.msrc.microsoft.com/updates down? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from msrc-microsoft-security-updates-api.