Skip to content
Analyzers

Scanner deep dive

Asana Analyzer

Open source

What does this analyzer do?

Purpose
It helps explain what a credential may be able to do. Atlas describes the analyzer’s code and hasn’t tested a credential here.
How does it assess access?
An Asana key that works is given all 40 permissions in the analyzer’s list, without checking each one. Access method details · Source (asana.go:63–64)

This permission list is preset

The analyzer assigns these permissions without asking Asana which ones the key has. Its actual access can be narrower.

What can I look up?
Explore the permissions and resource types named in the code.

Catalog coverage · maintainer view

Vendor API links
None yet
Explanations
42 of 42 permission and resource names
Access model
Classified 2026-11-16

Built on 2 detectors

The detector finds and verifies the key. This analyzer maps it.

  1. 1 · Detector finds

    Candidates near “asana”, 1 pattern.

    Asana OAuthasanaoauth.go:31 (opens TruffleHog source on GitHub)

  2. 2 · Detector verifies

    GET https://app.asana.com/api/1.0/users/me

    200 means verified.

    How it verifiesasanaoauth.go:63 (opens TruffleHog source on GitHub)asanaoauth.go:77 (opens TruffleHog source on GitHub)

  3. 3 · This analyzer maps

    40 permission names across 2 resource types.

    Assumes full access

  1. 1 · Detector finds

    Candidates near “asana”, 1 pattern.

    Asana Personal Access Tokenasanapersonalaccesstoken.go:33 (opens TruffleHog source on GitHub)

  2. 2 · Detector verifies

    GET https://app.asana.com/api/1.0/users/me

    200 means verified.

    How it verifiesasanapersonalaccesstoken.go:65 (opens TruffleHog source on GitHub)asanapersonalaccesstoken.go:79 (opens TruffleHog source on GitHub)

  3. 3 · This analyzer maps

    40 permission names across 2 resource types.

    Assumes full access

Access model · AI-assisted classification · No credential tested

How Asana Analyzer decides what a key can do

This describes how TruffleHog’s code assigns permissions. It is not a statement of what the provider actually grants a particular key.

  • Gives the user every permission once /users/me returns 200.

    Reviewed classification: Binds every permission to the user once /users/me returns 200.

    Any valid key is treated as having every permission. Nothing is checked one by one. This is TruffleHog’s assumption; the provider may still limit the key.

Pinned revision db665f0c24c6 · Confidence high · Classified 2026-11-16

Compare all 44 analyzers

Parsed source walkthrough · No credential tested

Follow Asana Analyzer from inputs to evidence

After a related detector successfully validates a candidate, this analyzer is an optional next layer. The steps below explain code found in this package. They do not run it or establish the access of a credential.

Input field names
1
Direct HTTP request sites
1
Go implementation files scanned
2

1. Understand the inputs

These names are read from the analyzer’s credential-info map. A name can be required, optional, or conditional; this inventory does not resolve that control flow. Field values are never shown.

2. Inspect the request definitions

A request site is a Go request-construction call, not an individual permission check. One helper may build many requests. 1 of 1 sites have a directly written address; dynamic addresses remain unresolved. Response interpretation must be read in source.

Browse 1 request sites
  • GET · https://app.asana.com/api/1.0/users/me

    Inspect source · asana.go:107

    This identifies a request definition. No response rule, granted permission, or resource binding is inferred from its method or address.

This package also contains 1 JSON/YAML configuration files. Their definitions are not counted as Go request sites. Their response semantics are not normalized in this walkthrough.

3. Read the result and its limits

Explore the permission names and resource types below. They are independent source lists. This walkthrough does not connect every request to a permission or resource, and does not infer access from an HTTP success.

Inspect 1 binding construction sites

These links point to Binding literals or BindAllPermissions helper calls. The permission-to-resource relationships and conditions have not been normalized.

Continue to permissions and resources

Pinned revision 23255461ddf3 · analyzer-workflow-sites-v1. Comments, string contents, tests and testdata are excluded from code-site matching. SDK resolution, call order, response rules, required inputs and permission/resource bindings remain outside this parser.

Permissions and resources

How the result is built: one key, the resources it reaches, and the permissions recorded on each.

1 key

A verified Asana key

From the detector

Resource types

  • user
  • workspace

Filled in only when a key is analyzed

40 permission names on each

  • allocations:read
  • allocations:write
  • attachments:read
  • attachments:write
  • autdit_logs:read
  • autdit_logs:write
  • custom_fields:read
  • custom_fields:write
  • custom_field_settings:read
  • custom_field_settings:write
  • batch_api:read
  • batch_api:write
  • +28 more in the list below

40 permission names · 2 resource types · 42/42 names explained

Permission names describe actions or scopes checked by this analyzer. Resource types describe the kinds of objects it can report. They are separate source lists; a permission-to-resource binding has not been extracted. Available access depends on the credential and provider response.

Showing 42 of 42 capability names

Where the explanations come from

  • Atlas wording (42): Atlas wording, not the provider’s text (written with AI, not yet reviewed)

Inspect analyzer sourceAsana OAuth scopes

Resource types

Showing 2 of 2 matching resource types.

  • userExplanation available

    The Asana user the token belongs to.

    Atlas wording

  • workspaceExplanation available

    An Asana workspace the user belongs to.

    Atlas wording

Permissions

Grouped by name prefix for easier browsing. These display groups are not official provider categories or permission-to-resource bindings.

Name prefix “custom” 4 names
  • custom_fields:readExplanation available

    Read custom fields.

    Atlas wording

  • custom_fields:writeExplanation available

    Create, change and delete custom fields.

    Atlas wording

  • custom_field_settings:readExplanation available

    Read custom field settings on projects and portfolios.

    Atlas wording

  • custom_field_settings:writeExplanation available

    Create, change and delete custom field settings on projects and portfolios.

    Atlas wording

Name prefix “allocations” 2 names
  • allocations:readExplanation available

    Read allocations (planned time on projects).

    Atlas wording

  • allocations:writeExplanation available

    Create, change and delete allocations (planned time on projects).

    Atlas wording

Name prefix “attachments” 2 names
  • attachments:readExplanation available

    Read attachments.

    Atlas wording

  • attachments:writeExplanation available

    Create, change and delete attachments.

    Atlas wording

Name prefix “autdit” 2 names
  • autdit_logs:readExplanation available

    Read audit logs. TruffleHog's source spells the name "autdit".

    Atlas wording

  • autdit_logs:writeExplanation available

    Create, change and delete audit logs. TruffleHog's source spells the name "autdit".

    Atlas wording

Name prefix “batch” 2 names
  • batch_api:readExplanation available

    Read batch API requests.

    Atlas wording

  • batch_api:writeExplanation available

    Create, change and delete batch API requests.

    Atlas wording

Name prefix “events” 2 names
  • events:readExplanation available

    Read change events.

    Atlas wording

  • events:writeExplanation available

    Create, change and delete change events.

    Atlas wording

Name prefix “goals” 2 names
  • goals:readExplanation available

    Read goals.

    Atlas wording

  • goals:writeExplanation available

    Create, change and delete goals.

    Atlas wording

Name prefix “jobs” 2 names
  • jobs:readExplanation available

    Read background jobs, such as project duplication.

    Atlas wording

  • jobs:writeExplanation available

    Create, change and delete background jobs, such as project duplication.

    Atlas wording

Name prefix “memberships” 2 names
  • memberships:readExplanation available

    Read memberships.

    Atlas wording

  • memberships:writeExplanation available

    Create, change and delete memberships.

    Atlas wording

Name prefix “portfolios” 2 names
  • portfolios:readExplanation available

    Read portfolios.

    Atlas wording

  • portfolios:writeExplanation available

    Create, change and delete portfolios.

    Atlas wording

Name prefix “project” 2 names
  • project_memberships:readExplanation available

    Read project memberships.

    Atlas wording

  • project_memberships:writeExplanation available

    Create, change and delete project memberships.

    Atlas wording

Name prefix “projects” 2 names
  • projects:readExplanation available

    Read projects.

    Atlas wording

  • projects:writeExplanation available

    Create, change and delete projects.

    Atlas wording

Name prefix “rules” 2 names
  • rules:readExplanation available

    Read rules (automations).

    Atlas wording

  • rules:writeExplanation available

    Create, change and delete rules (automations).

    Atlas wording

Name prefix “sections” 2 names
  • sections:readExplanation available

    Read sections.

    Atlas wording

  • sections:writeExplanation available

    Create, change and delete sections.

    Atlas wording

Name prefix “tags” 2 names
  • tags:readExplanation available

    Read tags.

    Atlas wording

  • tags:writeExplanation available

    Create, change and delete tags.

    Atlas wording

Name prefix “tasks” 2 names
  • tasks:readExplanation available

    Read tasks.

    Atlas wording

  • tasks:writeExplanation available

    Create, change and delete tasks.

    Atlas wording

Name prefix “teams” 2 names
  • teams:readExplanation available

    Read teams.

    Atlas wording

  • teams:writeExplanation available

    Create, change and delete teams.

    Atlas wording

Name prefix “user” 2 names
  • user_task_lists:readExplanation available

    Read users' My Tasks lists.

    Atlas wording

  • user_task_lists:writeExplanation available

    Create, change and delete users' My Tasks lists.

    Atlas wording

Name prefix “users” 2 names
  • users:readExplanation available

    Read users.

    Atlas wording

  • users:writeExplanation available

    Create, change and delete users.

    Atlas wording

Under the hoodSource facts, registration, field evidence and source changes

Start with the detector. Add the analyzer next.

  1. Step 1: Detect

    Related detectors find credential candidates. A match alone does not establish that the credential works. Open the detector first to learn its matching and verification rules.

  2. Step 2: Verify

    The detector checks the candidate under its verification rules. Successful verification establishes the condition accepted by that detector; it does not establish every permission. The status below is extraction evidence, not a live result.

    • Asana OAuth · Verification parsed

      The normalized parser found verification logic at this record’s revision. No credential was tested.

      GET https://app.asana.com/api/1.0/users/me

    • Asana Personal Access Token · Verification parsed

      The normalized parser found verification logic at this record’s revision. No credential was tested.

      GET https://app.asana.com/api/1.0/users/me

  3. Step 3: Analyze

    After successful detector verification, analysis is an additional layer for gathering access context. The source contains an Analyze function; its results depend on the credential, the checks that run and their outcomes.

    Explore access capabilities
  4. Step 4: Interpret the evidence

    Open an individual check to learn what it attempts and how its result is interpreted. Follow the source evidence before concluding what access it establishes. Missing permission or resource relationships remain unknown.

    Next: follow the source walkthrough

    Detailed check definitions are not connected to this page yet. The walkthrough identifies input and request sites; response rules and permission/resource bindings still need source review.

This is a source-based workflow, not a live validation result. The catalog has not executed these detectors or analyzers. Related packages are linked by the catalog’s recorded relationship evidence.

Source overview · No credential tested

Understand what Asana Analyzer can check

Counts below describe names found in analyzer source. They do not confirm access for a particular credential.

Permission names
40
Unique names recorded in this analyzer
Resource types
2
Kinds of objects, not a count of objects found
Names needing explanation
0
Names without a catalog summary

42 of 42 names have a summary. A summary is not proof of access or a review approval.

How should I read these results?
Recorded in source
The parser found a name or behavior in code. It has not tested your credential.
Explained in the catalog
A summary describes a recorded name. Check its source label and reference before relying on the interpretation.
Confirmed by a test
This would require a recorded run and its responses. No such result is shown on this page. An HTTP success alone does not establish every permission.

Yes

Self-discovery

Related detectors

2

40

2

trufflesecurity/trufflehog
pkg/analyzer/analyzers/asana/asana.go
2921dcc

Last commit that changed this folder’s code. Test-only changes don’t count.

Active

Nov 25, 2026

This folder was still in the catalog at this ingest.

Nov 25, 2026

No queued diffs

What this analyzer does

Analyze() exists in source. 40 permission names are enumerated in source. Resource types in source: user, workspace.

An Analyze function was found in the source. The entries below describe the access context recorded for this package.

Description generated from parsed flags

Registration

Named in pkg/analyzer/cli.go. A detector joins from this file only when its folder matches one of these keys.

  • asana

Parsed from analyzer registration

Related detectors and validation evidence

  • Asana OAuth

    pkg/detectors/asanaoauth·Verification parsed

    Enriches after verify. Joined by an explicit credential-type map. The analyzer does not verify the secret.

  • Asana Personal Access Token

    pkg/detectors/asanapersonalaccesstoken·Verification parsed

    Enriches after verify. Joined by an explicit credential-type map. The analyzer does not verify the secret.

Roles

No role map extracted from this analyzer’s Go.

Package files

  • asana.go
  • permissions.go
  • permissions.yaml

Field evidence

Parsed fields keep a provenance row beside the value. Extracted rows stay visible. Needs review means a heuristic verify flag or a URL whose host is still a template. Unknown means the parser did not find that field — never a negative capability claim.

  • description · Needs review · medium

    Analyze() exists in source. 40 permission names are enumerated in source. Resource types in source: user, workspace.

    Derived from parser flags. This sentence is not a source comment.

  • keyTypes · Unknown · unknown

    None extracted

  • permissions · Extracted · high

    allocations:read, allocations:write, attachments:read, attachments:write, autdit_logs:read, autdit_logs:write, custom_fields:read, custom_fields:write, custom_field_settings:read, custom_field_settings:write, batch_api:read, batch_api:write, events:read, events:write, goals:read, goals:write, jobs:read, jobs:write, portfolios:read, portfolios:write, projects:read, projects:write, project_memberships:read, project_memberships:write, sections:read, sections:write, tags:read, tags:write, tasks:read, tasks:write, teams:read, teams:write, users:read, users:write, user_task_lists:read, user_task_lists:write, memberships:read, memberships:write, rules:read, rules:write

  • resources · Extracted · high

    user, workspace

  • roles · Unknown · unknown

    None extracted

  • files · Extracted · high

    asana.go, permissions.go, permissions.yaml

  • hasAnalyze · Extracted · high

    Yes

  • hasRoleField · Unknown · unknown

    No

  • analyzerType · Extracted · high

    self_discovery

What changed in the source

Stored source differences and their review status. No stored difference does not establish that upstream is unchanged.

No stored diffs for this analyzer yet.

Change log

What changed in this analyzer

No changes recorded since Nov 11, 2026, when the change log starts.