Code Monkey home page Code Monkey logo

Comments (7)

craig-martin avatar craig-martin commented on May 14, 2024 1

Thanks for keen eye, Matt! The APIs accept two forms of authentication, API keys and access tokens. The option to use access tokens in the Authorization header is for internal use only today (it only accepts tokens from the Microsoft AAD tenant).

I'll update the help to omit that part of the samples.

from msrc-microsoft-security-updates-api.

IrootGeek avatar IrootGeek commented on May 14, 2024

Hi @mattfoster ;
I try to get API KEY of https://portal.msrc.microsoft.com/en-us/developer but i have the same problem redirect to home page "https://portal.msrc.microsoft.com/en-us/"
How a bout you, do you get your API Key?
Thanks!

from msrc-microsoft-security-updates-api.

mattfoster avatar mattfoster commented on May 14, 2024

from msrc-microsoft-security-updates-api.

IrootGeek avatar IrootGeek commented on May 14, 2024

Hi @mattfoster ,
The problem is in the web page of https://portal.msrc.microsoft.com/en-us/developer
Microsoft Security Update API
The Microsoft Security update API is a RESTful API that allows customer to obtain Microsoft security update information. Sample code is available on the Microsoft Security Updates API Github repository which demonstrates how to query this API for automation and reporting purposes.
Create New Key
but if click in Create New Key the page redirect to login ---> home page "https://portal.msrc.microsoft.com/en-us/"

from msrc-microsoft-security-updates-api.

mattfoster avatar mattfoster commented on May 14, 2024

Hi @IrootGeek,

I didn't have any problems getting an API key, I just signed in and it worked when I hit the button. Maybe someone from Microsoft can help you.

from msrc-microsoft-security-updates-api.

ms-AlexDavis avatar ms-AlexDavis commented on May 14, 2024

The last part of this thread runs along side issue #15.

In regards to the original issue, we do not maintain the portal page. Issues pertaining to that can be posted here: https://social.technet.microsoft.com/Forums/security/en-us/home?forum=securityupdateguide

But yes, you don't have to worry about the Authorization header.

from msrc-microsoft-security-updates-api.

christianmlong avatar christianmlong commented on May 14, 2024

Here's an example of a curl command that worked.

curl -v -X GET -o ms_cvrf.xml "https://api.msrc.microsoft.com/cvrf/2017-Sep?api-version=2016-08-01" -H "api-key: ###############"

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.