Skip to content

rhaist/go-MSRC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-MSRC

Go Reference

Go openapi client for the Microsoft Security Response Center (MSRC) API

Overview

This API client was generated by using the OpenAPI Generator project.

Please have a look at the generated README for additional information.

Usage

The following code shows how the client can be used to get the Patchday data for a specific month.

Please refer to the official documentation for advanced usage of this client.

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/rhaist/go-MSRC/openapi"
)

func main() {
	options := *openapiclient.NewUpdateODataQueryOptions() // UpdateODataQueryOptions | OData query options (optional)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	r, err := apiClient.UpdatesAPI.Updates(context.Background()).Options(options).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `UpdatesAPI.Updates``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
}

License

This software is distributed under the MIT license. Please have a look at the LICENSE file in the source distribution.

About

Go openapi client for the Microsoft Security Response Center (MSRC) API

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages