Skip to content

Commit 353c13a

Browse files
authored
Merge branch 'master' into DOCS-708-add-org-configuration
2 parents f605ef3 + d13ab9b commit 353c13a

18 files changed

Lines changed: 209 additions & 14 deletions

docs/assets/includes/paid.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,7 @@
99
<!--paid-feature-start-->
1010
!!! info "This is a [paid feature](https://www.codacy.com/pricing)"
1111
<!--paid-feature-end-->
12+
13+
<!--paid-feature-business-start-->
14+
!!! info "This feature is [only available on Business plan](https://www.codacy.com/pricing)"
15+
<!--paid-feature-business-end-->
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Does Codacy keep audit logs for my organization?
2+
3+
On [Business plan](https://www.codacy.com/pricing), Codacy logs significant organization events that can be retrieved for audit reporting.
4+
5+
See [Audit logs for organizations](../../organizations/audit-logs-for-organizations.md) for the complete list of events that Codacy logs, and how to obtain audit log data.

docs/getting-started/supported-languages-and-tools.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ The table below lists all languages that Codacy supports and the corresponding t
156156
<td><a href="https://github.com/dart-lang/sdk/tree/main/pkg/analyzer_cli">dartanalyzer</a> <a href="#dart-limitations"><sup>5</sup></a></td>
157157
<td>-</td>
158158
<td><a href="https://trivy.dev">Trivy</a></td>
159-
<td>-</td>
159+
<td><a href="https://trivy.dev">Trivy</a>, scans <br><code>pubspec.lock</code></td>
160160
<td><a href="https://github.com/kucherenko/jscpd">jscpd</a></td>
161161
<td>-</td>
162162
</tr>
@@ -202,7 +202,7 @@ The table below lists all languages that Codacy supports and the corresponding t
202202
<td><a href="https://semgrep.dev/">Semgrep</a> <a href="#suggest-fixes">🔧</a></td>
203203
<td><a href="https://semgrep.dev/">Semgrep</a>,
204204
<a href="https://trivy.dev">Trivy</a></td>
205-
<td>-</td>
205+
<td><a href="https://trivy.dev">Trivy</a>, scans <br><code>go.mod</code></td>
206206
<td><a href="https://pmd.github.io/pmd/pmd_userdocs_cpd.html">PMD CPD</a></td>
207207
<td><a href="https://github.com/fzipp/gocyclo">Gocyclo</a></td>
208208
</tr>
@@ -277,7 +277,7 @@ The table below lists all languages that Codacy supports and the corresponding t
277277
<a href="https://semgrep.dev/">Semgrep</a> <a href="#semgrep"><sup>1</sup></a></td>
278278
<td>-</td>
279279
<td><a href="https://semgrep.dev/">Semgrep</a></td>
280-
<td>-</td>
280+
<td><a href="https://trivy.dev">Trivy</a>, scans <br><code>pom.xml</code> and <code>gradle.lockfile</code></td>
281281
<td><a href="https://github.com/kucherenko/jscpd">jscpd</a></td>
282282
<td><a href="https://github.com/detekt/detekt">detekt</a></td>
283283
</tr>
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
---
2+
description: List of events that Codacy can log for an organization.
3+
---
4+
5+
# Audit logs for organizations
6+
7+
{%
8+
include-markdown "../assets/includes/paid.md"
9+
start="<!--paid-feature-business-start-->"
10+
end="<!--paid-feature-business-end-->"
11+
%}
12+
13+
Codacy logs important events in your organization, reflecting when your team members execute specific operations. This enables the generation of comprehensive reports to assist you with the audit process. For example, you can track who added a repository to Codacy, or changed the settings of a coding standard.
14+
15+
[Organization admins and organization managers](./roles-and-permissions-for-organizations.md) can obtain the audit log data of the organization events using the Codacy API endpoint [listAuditLogsForOrganization](https://api.codacy.com/api/api-docs#listauditlogsfororganization).
16+
17+
The retention period of audit logs for organization events is one year.
18+
19+
## Audit log events
20+
21+
Each audit log tracks when a Codacy user executed a specific operation in your organization using the Codacy app or the [Codacy API](https://api.codacy.com/api/api-docs#codacy-api). Each operation is identified by an **action**. For the detailed content of each audit log, see the [Codacy API reference](https://api.codacy.com/api/api-docs#listauditlogsfororganization).
22+
23+
The sections below list the events that Codacy logs for your organization at user, organization, and repository levels.
24+
25+
### User
26+
27+
|Event|Description|Action|
28+
|-----|-----------|------|
29+
|Log in|User logged in to Codacy|`user.login`|
30+
|Create [account API token](../codacy-api/api-tokens.md#account-api-tokens)|New account API token created|`user.tokens.create`|
31+
|Read account API token|List of account API tokens retrieved|`user.tokens.read`|
32+
|Delete account API token|Account API token deleted|`user.tokens.delete`|
33+
34+
### Organization
35+
36+
|Event|Description|Action|
37+
|-----|-----------|------|
38+
|[Add organization](./what-are-organizations.md#adding-an-organization)|Organization added to Codacy|`organizations.create`|
39+
|[Add people](./managing-people.md#adding-people) to organization|New people added to the organization|`organizations.people.create`|
40+
|[Join organization](./managing-people.md#joining)|User joined the organization|`organizations.join`|
41+
|Update [repository management permissions](./roles-and-permissions-for-organizations.md#change-analysis-configuration)|Repository management permissions updated|`organizations.analysisconfigurationminimumpermission.update`|
42+
|Assign [organization manager role](./roles-and-permissions-for-organizations.md#managing-the-organization-manager-role)|Organization manager role assigned to a team member|`organizations.security.managers.create`|
43+
|Revoke organization manager role|Organization manager role revoked from a team member|`organizations.security.managers.delete`|
44+
|Update [default Git provider configuration](./integrations/default-git-provider-integration-settings.md)|Default Git provider configuration for the organization updated|`organizations.integrations.providersettings.update`|
45+
|Apply default Git provider configuration to all repositories|Default Git provider configuration applied to all repositories of the organization|`organizations.integrations.providersettings.apply`|
46+
|Create new organization hook|New organization webhook created|`organizations.settings.hooks.create`|
47+
|Create new [gate policy](./using-gate-policies.md)|New gate policy created|`organizations.gatepolicies.create`|
48+
|Update gate policy|Quality gate definition updated|`organizations.gatepolicies.update`|
49+
|Apply gate policy to repositories|Gate policy applied to a list of repositories|`organizations.gatepolicies.repositories.apply`|
50+
|Make gate policy default|Gate policy was made the default for the organization|`organizations.gatepolicies.setdefault`|
51+
|Make Codacy gate policy default|Built-in Codacy gate policy was made the default for the organization|`organizations.gatepolicies.setcodacydefault`|
52+
|Delete gate policy|Gate policy deleted|`organizations.gatepolicies.delete`|
53+
|Create new [coding standard](./using-coding-standards.md) using preset sensitivity levels|New coding standard created|`organizations.presetsstandards.create`|
54+
|Create new coding standard draft using individual language and code pattern settings|New coding standard draft created|`organizations.codingstandards.create`|
55+
|Create new coding standard from draft|New coding standard created|`organizations.codingstandards.promote`|
56+
|Update coding standard from draft|Coding standard updated|`organizations.codingstandards.promote`|
57+
|Apply coding standard to repositories|Coding standard applied to a list of repositories|`organizations.codingstandards.repositories.apply`|
58+
|Make coding standard default|Coding standard was made the default|`organizations.codingstandards.setdefault`|
59+
|Delete coding standard|Coding standard deleted|`organizations.codingstandards.delete`|
60+
61+
### Repository
62+
63+
|Event|Description|Action|
64+
|-----|-----------|------|
65+
|Create new [post-commit hook](../repositories-configure/integrations/post-commit-hooks.md)|New repository hook created|`repositories.integrations.postcommithook`|
66+
|Create [repository API token](../codacy-api/api-tokens.md#repository-api-tokens)|New repository API token created|`repositories.tokens.create`|
67+
|Read repository API token|List of repository API tokens retrieved|`repositories.tokens.read`|
68+
|Delete repository API token|Repository API token deleted|`repositories.tokens.delete`|
69+
|Update Git provider integration settings<br>([GitHub](../repositories-configure/integrations/github-integration.md#configuring), [Bitbucket](../repositories-configure/integrations/bitbucket-integration.md#configuring), or [GitLab](../repositories-configure/integrations/gitlab-integration.md#configuring))|Git provider integration settings for the repository updated|`repositories.integrations.providersettings.update`|
70+
|Refresh Git provider integration<br>(applies only to [Bitbucket](../repositories-configure/integrations/bitbucket-integration.md#refreshing) and [GitLab](../repositories-configure/integrations/gitlab-integration.md#refreshing))|Git provider integration for the repository refreshed|`repositories.integrations.refreshprovider`|

docs/organizations/roles-and-permissions-for-organizations.md

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,15 @@ The table below maps the GitHub Cloud and GitHub Enterprise roles to the corresp
199199
<td class="yes">Yes</td>
200200
<td class="yes">Yes</td>
201201
</tr>
202+
<tr>
203+
<td>Obtain audit logs for organization events<sup>5</sup></td>
204+
<td class="no">No</td>
205+
<td colspan="2" class="no">No</td>
206+
<td colspan="2" class="no">No</td>
207+
<td class="no">No</td>
208+
<td class="yes">Yes</td>
209+
<td class="yes">Yes</td>
210+
</tr>
202211
<tr>
203212
<td>Invite and accept members,<br/>modify billing</td>
204213
<td class="no">No</td>
@@ -223,7 +232,8 @@ The table below maps the GitHub Cloud and GitHub Enterprise roles to the corresp
223232
<sup>1</sup>: Outside collaborators aren't supported as members of organizations on Codacy. You can still [add outside collaborators to Codacy](managing-people.md#adding-people) so that Codacy analyzes their commits to private repositories, but they won't be able to join your Codacy organization.
224233
<sup>2</sup>: Joining an organization may need an approval depending on your setting for [accepting new people](changing-your-plan-and-billing.md#allowing-new-people-to-join-your-organization).
225234
<sup>3</sup>: These users can only see security items originating from Codacy repositories that they follow.
226-
<sup>4</sup>: Requires that an organization owner has given the Codacy GitHub App access to the repositories to add or remove.
235+
<sup>4</sup>: Requires that an organization owner has given the Codacy GitHub App access to the repositories to add or remove.
236+
<sup>5</sup>: [Audit logs](./audit-logs-for-organizations.md) are available only on [Business plan](https://www.codacy.com/pricing).
227237

228238
## Permissions for GitLab
229239

@@ -353,6 +363,15 @@ The table below maps the GitLab Cloud and GitLab Enterprise roles to the corresp
353363
<td class="yes">Yes</td>
354364
<td colspan="2" class="yes">Yes</td>
355365
</tr>
366+
<tr>
367+
<td>Obtain audit logs for organization events<sup>4</sup></td>
368+
<td class="no">No</td>
369+
<td colspan="2" class="no">No</td>
370+
<td class="no">No</td>
371+
<td colspan="2" class="no">No</td>
372+
<td class="yes">Yes</td>
373+
<td colspan="2" class="yes">Yes</td>
374+
</tr>
356375
<tr>
357376
<td>Invite and accept members,<br/>modify billing</td>
358377
<td class="no">No</td>
@@ -377,6 +396,7 @@ The table below maps the GitLab Cloud and GitLab Enterprise roles to the corresp
377396
<sup>1</sup>: External users aren't supported as members of organizations on Codacy. You can still [add external users to Codacy](managing-people.md#adding-people) so that Codacy analyzes their commits to private repositories, but they won't be able to join your Codacy organization.
378397
<sup>2</sup>: Joining an organization may need an approval depending on your setting for [accepting new people](changing-your-plan-and-billing.md#allowing-new-people-to-join-your-organization).
379398
<sup>3</sup>: These users can only see security items originating from Codacy repositories that they follow.
399+
<sup>4</sup>: [Audit logs](./audit-logs-for-organizations.md) are available only on [Business plan](https://www.codacy.com/pricing).
380400

381401
## Permissions for Bitbucket
382402

@@ -465,6 +485,12 @@ The table below maps the Bitbucket Cloud and Bitbucket Server roles to the corre
465485
<td class="yes">Yes</td>
466486
<td class="yes">Yes</td>
467487
</tr>
488+
<tr>
489+
<td>Obtain audit logs for organization events<sup>4</sup></td>
490+
<td colspan="2" class="no">No</td>
491+
<td class="yes">Yes</td>
492+
<td class="yes">Yes</td>
493+
</tr>
468494
<tr>
469495
<td>Invite and accept members,<br/>modify billing</td>
470496
<td colspan="2" class="no">No</td>
@@ -482,7 +508,8 @@ The table below maps the Bitbucket Cloud and Bitbucket Server roles to the corre
482508

483509
<sup>1</sup>: Codacy can't distinguish the Bitbucket roles Read and Write because of a limitation on the Bitbucket API.
484510
<sup>2</sup>: Joining an organization may need an approval depending on your setting for [accepting new people](changing-your-plan-and-billing.md#allowing-new-people-to-join-your-organization).
485-
<sup>3</sup>: These users can only see security items originating from Codacy repositories that they follow.
511+
<sup>3</sup>: These users can only see security items originating from Codacy repositories that they follow.
512+
<sup>4</sup>: [Audit logs](./audit-logs-for-organizations.md) are available only on [Business plan](https://www.codacy.com/pricing).
486513

487514
## See also
488515

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
---
2+
rss_title: Codacy release notes RSS feed
3+
rss_href: /feed_rss_created.xml
4+
description: Release notes for Codacy Cloud June 2024.
5+
included_jira_versions: ['2024.06']
6+
codacy_tools_version_old: https://github.com/codacy/codacy-tools/releases/tag/7.14.11
7+
codacy_tools_version_new: https://github.com/codacy/codacy-tools/releases/tag/7.16.17
8+
---
9+
10+
# Cloud June 2024
11+
12+
These release notes are for the Codacy Cloud updates during June 2024.
13+
14+
📢 [Visit the Codacy roadmap](https://roadmap.codacy.com) and <span class="skip-vale">let us know</span> your feedback on both new and planned product updates!
15+
16+
## Product enhancements
17+
18+
- You can now [filter Security and Risk Management findings by scan type](../../organizations/managing-security-and-risk.md#scan-types) to see results based on the detection method, including Code Scanning, Software Composition Analysis, Exposed Secrets, Infrastructure as Code, and Penetration Testing. (TCE-1028)
19+
- For increased security, Codacy now sets [automatic expiration timeouts](../../account/user-session-management.md) for every session. (PLUTO-879)
20+
- The Codacy configuration file now supports a [new field `include_paths`](../../repositories-configure/codacy-configuration-file.md#include-files) that lets you explicitly specify files or directories to include in the analysis. This is particularly useful for bypassing files or directories that are ignored by default or specified in `exclude_paths`. (TCE-977)
21+
- Codacy can now detect duplicated code in the following languages: CoffeeScript, Elixir, Groovy, Objective C, Rust, Visual Basic (TCE-1021)
22+
23+
## Bug fixes
24+
25+
- Fixed an issue that caused missing data in the user interface when navigating the Gate policies settings in the Codacy app. (PLUTO-918)
26+
- Fixed an issue that caused discrepancies in reported coverage variation values. (TCE-948)
27+
- Fixed a case-sensitivity issue when analyzing file paths in coverage reports. (TCE-982)
28+
29+
## Deprecations
30+
31+
- On June 5th, Codacy [stopped sending status checks from the old Coverage engine](./cloud-2023-11-23-new-coverage-engine-status-checks.md#deprecation-and-removal-calendar-for-the-old-coverage-engine-status-checks). (ALA-767)
32+
33+
## Tool versions
34+
35+
Codacy Cloud now includes the tool versions below. The tools that were recently updated are highlighted in bold:
36+
37+
- Ameba 1.5.0
38+
- Bandit 1.7.5
39+
- Brakeman 4.3.1
40+
- bundler-audit (deprecated) 0.9.1
41+
- Checkov 3.2.79
42+
- Checkstyle 10.13.0
43+
- Clang-Tidy 10.0.1
44+
- CodeNarc 3.3.0
45+
- CoffeeLint 5.2.11
46+
- Cppcheck 2.13.0
47+
- Credo 1.7.2
48+
- CSSLint (deprecated) 1.0.5
49+
- **[dartanalyzer 3.4.2](https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md) (updated from 3.3.4)**
50+
- detekt 1.23.5
51+
- ESLint 8.57.0
52+
- ESLint (deprecated) 7.32.0
53+
- Faux-Pas 1.7.2
54+
- Flawfinder 2.0.19
55+
- Gosec 2.15.0
56+
- **[Hadolint 2.12.0](https://github.com/hadolint/hadolint/releases/tag/v2.12.0) (updated from 1.18.2)**
57+
- Jackson Linter 2.15.2
58+
- JSHint (deprecated) 2.13.6
59+
- markdownlint 0.33.0
60+
- PHP Mess Detector 2.14.1
61+
- PHP_CodeSniffer 3.9.2
62+
- PMD 6.55.0
63+
- Prospector 1.10.3
64+
- PSScriptAnalyzer 1.21.0
65+
- Pylint 3.1.0
66+
- Pylint (deprecated) 1.9.5
67+
- remark-lint 9.1.2
68+
- Revive 1.3.7
69+
- **[RuboCop 1.64.1](https://github.com/rubocop/rubocop/releases/tag/v1.64.1) (updated from 1.63.1)**
70+
- Scalastyle 1.5.1
71+
- **[Semgrep 1.77.0](https://github.com/semgrep/semgrep/releases/tag/v1.77.0) (updated from 1.68.0)**
72+
- ShellCheck v0.9.0
73+
- SonarC# 9.23
74+
- SonarVB 8.15
75+
- Spectral 1.18.1
76+
- SpotBugs 4.8.3
77+
- SQLint 0.2.1
78+
- Staticcheck 2023.1.6
79+
- **[Stylelint 16.6.1](https://github.com/stylelint/stylelint/releases/tag/16.6.1) (updated from 15.10.3)**
80+
- SwiftLint 0.54.0
81+
- Tailor 0.12.0
82+
- **[Trivy 0.52.2](https://github.com/aquasecurity/trivy/releases/tag/v0.52.2) (updated from 0.49.1)**
83+
- TSLint (deprecated) 6.1.3
84+
- TSQLLint 1.11.1
85+
- Unity Roslyn Analyzers 1.19.0

docs/release-notes/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ For product updates that are in progress or planned [visit the Codacy public roa
1818

1919
2024
2020

21+
- [Cloud June 2024](cloud/cloud-2024-06.md)
2122
- [Cloud May 2024](cloud/cloud-2024-05.md)
2223
- [Cloud April 2024](cloud/cloud-2024-04.md)
2324
- [Cloud March 2024](cloud/cloud-2024-03.md)

docs/repositories-configure/configuring-code-patterns.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ To configure the tools and code patterns for a repository using the Codacy UI:
2323

2424
![Toggling tools](images/code-patterns-toggle-tools.png)
2525

26-
1. Select a tool to enable or disable its code patterns. To make it easier to find relevant patterns, use the filters above the pattern list. You can filter by [issue category](../faq/code-analysis/which-metrics-does-codacy-calculate.md#issues), status, or severity level.
26+
1. Select a tool to enable or disable its code patterns. To make it easier to find relevant patterns, use the filters above the pattern list. You can filter by [issue category](../faq/code-analysis/which-metrics-does-codacy-calculate.md#issues), status, severity level, or display only recommended code patterns.
2727

2828
To see an explanation of the issues that a pattern detects and how to fix them, click the respective dropdown arrow.
2929

@@ -97,7 +97,7 @@ The table below lists the configuration file names that Codacy detects and suppo
9797
<tr>
9898
<td><a href="https://docs.openstack.org/bandit/latest/config.html">Bandit</a></td>
9999
<td>Python</td>
100-
<td><code>bandit.yml</code>, <code>.bandit</code></td>
100+
<td><code>bandit.yml</code>, <code>bandit.yaml</code>, <code>.bandit</code>, <code>bandit.toml</code>, <code>bandit.ini</code></td>
101101
<td>To solve flagged valid Python "assert" statements, create a <code>bandit.yml</code> on the root of the repository containing: <code>skips: \['B101'\]</code></td>
102102
</tr>
103103
<tr>
-19 KB
Loading
-14 KB
Loading

0 commit comments

Comments
 (0)