Skip to main content

Confluence

Confluence is a collaborative workspace software developed by Atlassian, designed to help teams create, organize, and share knowledge efficiently. It's a versatile tool widely used in various industries for project management, documentation, and collaboration.

To learn how Confluence entities map to SQL tables, consult the table mappings guide.

How to Setup

To connect to a Confluence data source you need to register the Confluence credentials. This requires:

  • The name of the credential (which you can choose).
  • Base URL.
  • Username.
  • Token.

Using our App, this is the respective form for adding Confluence credentials: Confluence Credentials

Base URL

This is the site url of the user's attlassian jira subscription., e.g. https://your-domain.atlassian.net/

Username

The user name to access the jira cloud instance, e.g. user@domain.com

Token

API token for the user's Atlassian account. API tokens are created and managed here.

Examples

Choose one of the examples below:

Get content body in the storage format
Retrieve the content body in the storage format.

Sample usage:

/confluence/content_body_storage/format
Get content that mentions steampipe in the body
Retrieve content that includes references to steampipe within the main text.

Sample usage:

/confluence/content_body_storage/memtions/steampipe
Get content body in the view format
Retrieve the body content in the specified format for viewing.

Sample usage:

/confluence/content_body_view/format
Get content that mentions steampipe in the body
Retrieve content that includes references to steampipe within the body.

Sample usage:

/confluence/content_body_view/stats/mentions/steampipe
Get content with draft in the title
Retrieve content that has "draft" in the title.

Sample usage:

/confluence/content/draft
Get basic info about the content
Retrieve fundamental information regarding the content.

Sample usage:

/confluence/content/information
Get basic info about the labels
Retrieve fundamental information regarding the labels.

Sample usage:

/confluence/content_label/basic_info
Get the count of content by label
Query the number of pieces of content based on their label.

Sample usage:

/confluence/content_label/count
Get labels with documentation in the name
Retrieve labels that contain documentation in their name.

Sample usage:

/confluence/content_label/documentation
Get the count of content type
Retrieve the number of content types.

Sample usage:

/confluence/content/type/count
Get basic info about the version
Retrieve fundamental details regarding a version.

Sample usage:

/confluence/content_version/basic_info
Get the count of content by label
Retrieve the label-based content count.

Sample usage:

/confluence/content_version/count_by_label
Get the 50 oldest pages
Retrieve the 50 oldest pages.

Sample usage:

/confluence/content_version/pages/oldest_limit_50
Get content with type "blogpost"
Retrieve content of type "blogpost".

Sample usage:

/confluence/search_content/blogposts
Get content with the "soc2" label
Retrieve content labeled as 'soc2'.

Sample usage:

/confluence/search_content/soc2
Get personal, archived spaces
Retrieve personal, archived spaces.

Sample usage:

/confluence/space/archive/personal
Get basic info about the spaces
Retrieve fundamental information regarding the spaces.

Sample usage:

/confluence/space/basic_info
Get the global spaces
Retrieve the global spaces.

Sample usage:

/confluence/space/global

Table Mappings

Once the Confluence credential is registered, a new schema will be available for query within RAW. The name of this schema matches the name of the "RAW credential" you chose above.

Within this schema, you will find a set of tables, which contain the information stored in confluence. These tables are:

Table NameDescription
confluence_contentContent
confluence_content_body_storageContent Body Storage
confluence_content_body_viewContent Body View
confluence_content_labelContent Label
confluence_content_versionContent Version
confluence_search_contentSearch Content
confluence_spaceSpace

Content

Information stored within a Confluence platform.

Fields

NameTypeDescription
_ctxjsonbSteampipe context in JSON form, e.g. connection_name.
idtextAutomatically assigned when the content is created
space_keytextThe space containing the content
statustextThe content status
titletextThe content title
typetextThe content type (page, blogpost, attachment or content)
version_numberbigintThe content version

Content Body Storage

Body of content stored in the format used by Confluence instance.

Fields

NameTypeDescription
_ctxjsonbSteampipe context in JSON form, e.g. connection_name.
idtextThe ID of the content.
representationtextThe representation type of the content.
valuetextThe content body.

Content Body View

Content text from a Confluence instance in view format

Fields

NameTypeDescription
_ctxjsonbSteampipe context in JSON form, e.g. connection_name.
idtextThe ID of the content.
representationtextThe representation type of the content.
valuetextThe content body.

Content Label

Labels for content within a Confluence instance.

Fields

NameTypeDescription
_ctxjsonbSteampipe context in JSON form, e.g. connection_name.
content_idtextAutomatically assigned when the content is created
idtextAutomatically assigned when the label is created
labeltextThe label
nametextThe label name
prefixtextThe label prefix
space_keytextThe space containing the content
titletextThe content title

Content Version

Different versions of content stored in a Confluence instance.

Fields

NameTypeDescription
_ctxjsonbSteampipe context in JSON form, e.g. connection_name.
accountIdtextThe account ID for the content version's author.
displayNametextThe display name for the content version's author.
emailtextThe email for the content version's author.
idtextThe ID of the content.
messagetextThe content version message.
minor_editbooleanWhether the version corresponds to a minor edit.
numberbigintThe content version number.
userKeytextThe user key for the content version's author.
usernametextThe username for the content version's author.
whentextWhen the content version was published.

Search Content

Find information within a Confluence instance.

Fields

NameTypeDescription
_ctxjsonbSteampipe context in JSON form, e.g. connection_name.
cqltextThe Confluence query langauge.
idtextAutomatically assigned when the content is created.
last_modifiedtextWhen the content was last modified
statustextThe content status
titletextThe content title
typetextThe content type (page, blogpost, attachment or content)

Space

Areas within a Confluence system.

Fields

NameTypeDescription
_ctxjsonbSteampipe context in JSON form, e.g. connection_name.
idtextAutomatically assigned when the space is created
keytextThe key of the space.
nametextThe name of the space.
statustextThe status of the space.
typetextThe type of space.