og-describer-entraid

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

README

OpenGovernance Describer Template

Introduction

This document is a GitHub repository temmplate for write describers for any Provider you want.

Instructions

1. Create a new repository using this template

First, you need to fork this repository to your account. Then, you can create a new repository using this template.

2. Fill the environment variables

Fill the environment variables in the .env file with the information of the Provider you want to describe. After that please run following command to export the environment variables:

./export_env.sh
3. Fill the resources

Complete the resources same as the example in the resources-types.json.

4. Fill the index map

Complete the index map same as the example in the table_index_map.go.

5. Copy the Steampipe plugin

Copy your Steampipe plugin to root directory of the repository.

6. Complete authentication and describer files

Complete the authentication functions for your provider in the config.go. After that Please complete all neccessary functions which tagged with TODO in the provider and describer directories.

7. Run the Template

Just run the following command to run the template:

go run main.go

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
sdk
sdk/es
Code is generated by go generate.
Code is generated by go generate.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL