Last updated Oct 30, 2024

Shared responsibility model

Building a Forge app brings with it new capabilities and responsibilities beyond those set out in the Cloud shared responsibility model.

For example, Forge apps can choose to implement one or more of the following capabilities, which change the division of security responsibilities between you and Atlassian.

  • Custom UI, which lets you define app user interfaces using static resources, such as HTML, CSS, JavaScript, and images.

  • UI kit, which lets you build intuitive and familiar app user interfaces by composing built-in Atlassian components.

  • Web triggers, which is a mechanism to invoke Forge applications through incoming HTTP calls.

This page is intended to help you understand your responsibilities when building and supporting a Forge app, and what responsibilities Atlassian takes care of. Also make sure you have read and are adhering to the Developer terms and Marketplace partner agreement.

ResponsibilityCustom UIUI kitWeb triggers
App elements
Authentication of requests to the appAtlassianAtlassianYou
Authorization of requests to the appAtlassian & YouAtlassian & YouYou
Input validation and output encodingYouAtlassian & YouYou
Application logicYouYouYou
Application frameworkAtlassian & YouAtlassianAtlassian
Data storageAtlassian & YouAtlassian & YouAtlassian & You
Software development lifecycle (SDLC) activitiesAtlassian & YouAtlassian & YouAtlassian & You
Tenant safety Atlassian & YouAtlassian & YouAtlassian & You
Operational elements
LoggingAtlassian & YouAtlassian & YouAtlassian & You
Monitoring and alertingAtlassianAtlassianAtlassian
Network securityAtlassianAtlassianAtlassian
Runtime/Server securityAtlassianAtlassianAtlassian
Vulnerability management and disclosureAtlassian & YouAtlassian & YouAtlassian & You
Bug bountyAtlassian & YouAtlassian & YouAtlassian & You
Security incident responseAtlassian & YouAtlassian & YouAtlassian & You
Disaster recoveryAtlassian & YouAtlassian & YouAtlassian & You
Security features
User identity and access managementAtlassianAtlassianAtlassian
DoS protectionAtlassianAtlassianAtlassian
Abuse preventionAtlassian & YouAtlassian & YouAtlassian & You

App elements

Authentication of requests to the app

Ensure that every request made to the application is sufficiently authenticated.

Your responsibilities:

Atlassian's responsibilities:

  • Authenticate the user before invoking your Forge application.

Authorization of requests to the app

Ensure that every request made to the application is sufficiently authorized.

Your responsibilities

  • You must use asUser() whenever you are performing an operation on behalf of a user. This ensures your app has at most the permissions of the calling user.
  • Before making calls asApp(), you must verify expected permissions (for example, from product context) with the permissions REST APIs before making the request.

Atlassian's responsibilities

  • Ensure that only users with access to the site can interact with apps.

Input validation and output encoding

Ensure sufficient input validation and output encoding is applied within the application.

Your responsibilities

Atlassian's responsibilities:

  • Appropriately encode all HTML output for UI kit components.

Application logic

Your responsibilities

Application framework

Ensure the framework used to build apps is free of security bugs, and fixes are delivered in line with Atlassian's security bug fix policy SLOs.

Your responsibilities:

  • Ensure the frameworks used in your custom UI app are up-to-date with the latest security patches.

Atlassian's responsibilities

Data storage

Ensure that data is appropriately stored and read by your app.

Your responsibilities

  • Ensure that sensitive security data, such as pre-shared keys, API keys, or encryption keys are not hardcoded in the source code. Secure storage, such as encrypted environment variables, should be used to supply keys at runtime.
  • Ensure that keys are rotated on a regular basis. You should rotate sensitive API keys at least every 90 days.
  • Ensure that authorisation controls exist to segregate data access between different user roles within the same tenant.

Atlassian's responsibilities

  • Encrypt data at rest for data stored within Forge app storage.
  • Segregate data storage to prevent cross-tenant access. This includes Forge app storage.

Software development lifecycle (SDLC) activities

Apply secure software development practices when building and maintaining your app.

Your responsibilities

Tenant safety

Atlassian's responsibilities

Developers and Atlassian are jointly responsible for tenant safety. If your app is deployed on this runtime, the following responsibilities apply:

Your responsibilities

  • Keep data in memory only within an invocation context; for example, don’t write to global variables or disk in a way that would expose customer data.

Atlassian's responsibilities

  • An app installed on tenant A cannot request data from an app installed on tenant B.

With the legacy runtime, Atlassian was responsible for tenant isolation. An app installed on tenant A could not communicate with an app installed on tenant B.

Operational elements

Data residency

When listing your app on the Atlassian Marketplace with data residency support, ensure that you are correctly declaring your app’s eligibility and data collection policy.

Your responsibilities

  • Accurately define, document, and communicate what data is in-scope for data residency in your app listing’s Privacy and Security tab. See In-Scope End-User Data for more information.

  • If your app uses any remote back ends, declare them in your manifest file with the properties matching their purpose. See Remotes for more information.

Logging

Your responsibilities

  • Ensure your application does not log personally identifiable information (PII), authentication tokens, and user-generated content (UGC), or confidential data.

Atlassian's responsibilities

  • Maintain robust logging that includes an audit trail of actions performed by an app.
  • Restrict access to logs based on organization permissions.

Monitoring and alerting

Atlassian's responsibilities

  • Proactively monitor the health of the platform raising alerts in response to degraded performance, security, or abuse events.

Network security

Atlassian's responsibilities

  • Use TLS to encrypt all traffic, including HSTS.
  • Ensure data is appropriately handled. This includes ensuring caching of data does not negatively impact the security of apps or the platform.

Runtime/Server security

Atlassian's responsibilities

  • Ensure the platform infrastructure is hardened.
  • Scan for security misconfiguration vulnerabilities.
  • Provide a secure runtime for apps that prevents bypassing security controls.

Vulnerability management and disclosure

Your responsibilities

Atlassian's responsibilities

Bug bounty

Your responsibilities

Atlassian's responsibilities

  • Maintain a bug bounty program that includes the Forge platform in scope.

Security incident response

Your responsibilities

  • Establish a security incident response plan , so you are better prepared to respond to security breaches and incidents.
  • Promptly notify Atlassian upon discovery of any security incident in accordance with the Atlassian developer terms.
  • Keep developer account contact information up to date for security incidents.

Atlassian's responsibilities

Disaster recovery

Your responsibilities

  • Establish a disaster recovery and business continuity plan to minimize or eliminate interruptions to the functioning of your apps during an incident.

Atlassian's responsibilities

  • Ensure data stored by Atlassian on behalf of your app (in Forge data storage) is backed up, and can be restored in an incident.
  • Maintain incident response plans.

Security features

User identity and access management

Atlassian's responsibilities

DoS protection

Atlassian's responsibilities

  • Detect DoS attacks against applications, or caused by applications.
  • Mitigate DoS attacks against applications.
  • Suspend apps that may be misbehaving/performing a high volume of requests.

Abuse prevention

Your responsibilities

Atlassian's responsibilities

  • Detect and mitigate apps that disrupt the normal operation of Forge or other Forge apps.
  • Enforce platform limits (storage, request throughput, etc).

Rate this page: