baton-bill

module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2025 License: Apache-2.0

README

Baton Logo

baton-bill Go Reference main ci

baton-bill is a connector for Bill.com built using the Baton SDK. It communicates with the Bill.com API to sync data about which users have access to various entities and organizations.

Check out Baton to learn more about the project in general.

Getting Started

brew

brew install conductorone/baton/baton conductorone/baton/baton-bill

baton-bill --username <username> --password <password> --organizationIds <firstOrgId> <secondOrgId> --developerKey <developerKey>
baton resources

docker

docker run --rm -v $(pwd):/out -e BATON_BILL_USERNAME=username -e BATON_BILL_PASSWORD=password -e BATON_BILL_ORGANIZATION_IDS=organizationIds -e BATON_BILL_DEVELOPER_KEY=developerKey ghcr.io/conductorone/baton-bill:latest -f "/out/sync.c1z"
docker run --rm -v $(pwd):/out ghcr.io/conductorone/baton:latest -f "/out/sync.c1z" resources

source

go install github.com/conductorone/baton/cmd/baton@main
go install github.com/conductorone/baton-bill/cmd/baton-bill@main

baton-bill --username <username> --password <password> --organizationIds <firstOrgId> <secondOrgId> --developerKey <developerKey>
baton resources

Data Model

baton-bill will pull down information about the following Bill.com resources:

  • Organizations
  • Users
  • Roles?

By default, baton-bill will sync information from any organizations that the provided credential has access to.

Contributing, Support and Issues

We started Baton because we were tired of taking screenshots and manually building spreadsheets. We welcome contributions, and ideas, no matter how small -- our goal is to make identity and permissions sprawl less painful for everyone. If you have questions, problems, or ideas: Please open a Github Issue!

See CONTRIBUTING.md for more details.

baton-bill Command Line Usage

baton-bill

Usage:
  baton-bill [flags]
  baton-bill [command]

Available Commands:
  completion         Generate the autocompletion script for the specified shell
  help               Help about any command

Flags:
  -f, --file string             The path to the c1z file to sync with ($BATON_FILE) (default "sync.c1z")
  -h, --help                    help for baton-bill
      --log-format string       The output format for logs: json, console ($BATON_LOG_FORMAT) (default "json")
      --log-level string        The log level: debug, info, warn, error ($BATON_LOG_LEVEL) (default "info")
      --username string         The username to use to authenticate with Bill.com ($BATON_BILL_USERNAME)
      --password string         The password to use to authenticate with Bill.com ($BATON_BILL_PASSWORD)
      --organizationIds strings The organizationId to use to authenticate with Bill.com ($BATON_BILL_ORGANIZATION_IDS)
      --developerKey string     The developerKey to use to authenticate with Bill.com ($BATON_BILL_DEVELOPER_KEY)
  -v, --version                 version for baton-bill

Use "baton-bill [command] --help" for more information about a command.

Directories

Path Synopsis
cmd
baton-bill command
pkg

Jump to

Keyboard shortcuts

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