Billing FAQ
Last updated: Nov 9, 2026
Why does a former employee appear on the billing list?
These are some possible causes:
- Their commits come into the branch that the platform analyzes at a later time.
- The analyzed branch is not the primary branch, and someone added it to the platform later. Thus, the commits of the branches are different.
- The repository was empty when someone registered it, and later merges added branches with existing commits.
Can Fluid Attacks restrict the number of authors permitted to make commits to a repository?
No. Only the repository administrator can configure repository management policies, and these policies are different on each platform.
Which users have permission to access the monthly author count or list?
Group Managers, Vulnerability Managers (groups), and Users (groups).
Does Fluid Attacks charge an author twice if they commit to repositories in different groups?
No. The developer can make unlimited commits in all the repositories or groups that they want, and Fluid Attacks bills them only one time. If an author contributes to more than one group, Fluid Attacks divides the charge equally among all these groups.
Can Fluid Attacks bill an author twice because of multi-branch support?
Yes.
When you register a repository on more than one branch,
Fluid Attacks bills each branch independently
for the month in which it sees the commits as merged.
Thus, if the same author makes changes
that reach different branches in different months,
Fluid Attacks can bill that author two times.
Does Fluid Attacks charge an author who commits to excluded paths?
No. Fluid Attacks only charges for the authors who contribute to files in paths that are in the testing scope.
How can I count the number of authors in Git repositories?
Fluid Attacks gives a Python script
to count the authors in one or more Git repositories.
The script lists the contributors and their number of commits
in a given date range.
It can also put together the data of more than one subfolder
and normalize identities with a .mailmap file, if necessary.
Script workflow:
- Determines the date range
based on the arguments (
-mor-b). - Gets the relevant commits between the first and the last day of the date range.
- Uses
git-shortlogto count contributions. - Applies the
.mailmapfile to unify aliases or duplicates. - Generates a report sorted by the number of commits.
Check requirements:
Before you run the script, make sure that you have these items:
- Python 3 installed (check by running
python3 --version) - Git installed (check by running
git --version) - A
.mailmapfile (read Create the.mailmapfile below) - Local clones of the repositories you want to analyze
Create the .mailmap file:
The script must have a .mailmap file, which you make.
This text file connects the different names and emails of one person
to one identity.
Without it, the script counts a person who uses two emails as two authors.
This applies only to the count of the script.
Before billing, Fluid Attacks examines the author list
and removes the duplicate authors.
To see the names and emails of a repository as Git recorded them, run this command in the folder of the repository:
git log --format='%an <%ae>' | sort -uIn the .mailmap file, first write the identity that you want to keep
on its own line.
Then, write one line for each alias:
first the identity that you want to keep, and then the alias.
John Smith <[email protected]>
John Smith <[email protected]> <[email protected]>
John Smith <[email protected]> <[email protected]>The first line gives one name to all the commits of the email that you keep. If one email has commits with different names, you must add this line.
You can keep the .mailmap file in a different folder from the repositories.
If you do not have to connect identities, you can use an empty file.
Then, the script marks each author as (NOT IN MAILMAP).
This is not an error.
Download the script:
Download the script.
Then
save it in your working directory
as scripts/Get_Authors.py.
Run the script:
python3 scripts/Get_Authors.py -m 2023-05 test .mailmapThese are the arguments of the script:
test: The path to the folder that has the repository or repositories..mailmap: The path to your.mailmapfile.-m YYYY-MM(optional): Counts the authors in a specific month (for example, 2023-05).-b YYYY-MM-DD YYYY-MM-DD(optional): An alternative to-m YYYY-MMthat specifies a custom date range.-u(optional): Does not count subfolders. By default, the script scans subfolders.
Output example:
Authors of the repositories test between 01 May 2023 and 31 May 2023:
Commits Author
42 Alice <[email protected]>
36 Bob <[email protected]> (NOT IN MAILMAP)
...
Total Authors = 12If the .mailmap file does not have an email,
the script marks it as '(NOT IN MAILMAP)'.
If the script shows an error about symbolic links:
Earlier versions of the script show this error with Git 2.32 or a more recent version:
error: unable to open mailmap at .mailmap: Too many levels of symbolic linksWith this error, the script does not use your .mailmap file.
Download the script again from the link above.
Earlier versions of the script can also leave a .mailmap symbolic link
in the repository.
Delete this link.
If the link stays, the command below shows the same error message,
but it still uses your .mailmap file.
You can also count the authors of one repository directly with Git:
git -C /path/to/repository \
-c mailmap.file=/path/to/.mailmap \
shortlog -sne --no-merges \
--since='2023-05-01 00:00:00' --until='2023-05-31 23:59:59' HEADHow can I count the lines of code for Health Check?
Fluid Attacks gives a script to count the effective lines of code (LoC) in your repositories. With it, you can verify the cost of Health Check yourself. This script uses tokei and excludes the files that are not relevant to the analysis, such as documentation and styling files.
Analyzed files:
The script runs tokei with the Fluid Attacks language definitions
and excludes these non-code languages:
- Documentation: Markdown
- Styling: CSS, SASS, LESS, Stylus
- Format/config files: JSON, XML, XAML
Check requirements:
Before you run the script, make sure that you have these items:
- Python, version 3 recommended (check by running
python3 --version) - The tokei tool, installed and available in your system path
Use the script:
-
In your terminal, run the script on your project folder:
python3 scripts/Count_LoC.py /path/to/project
Then you see the LoC report, and after it, this message:
Excluded: Markdown,CSS,SASS,LESS,Stylus,JSON,XML,XAML
Using special FLUID ConfigurationThis message means that the script excluded the non-code files and applied the Fluid Attacks standard.
If tokei is not installed or is not in your system path, an error message tells you to install it.
How are lines counted for a late Health Check?
If you have the Advanced plan and request a Health Check later, Fluid Attacks counts the lines per repository. The count starts from the first successful clone that had at least one file other than a 'README' file.
To get the state of the repository at a past date, Fluid Attacks does these steps:
-
Clone the repository:
git clone <repo-url> cd <repo-name> -
Find the latest commit before a specific date:
git rev-list -n 1 --before="2024-03-01 23:59" masterFor example, this command returns the most recent commit hash before March 1, 2024 in the master branch.
-
Go to that commit with
git checkout:git checkout <commit-hash>This puts the repository in 'detached HEAD' mode, which is useful for historical analysis.
How are lines counted for a Health Check after changing plans?
If you need a Health Check when you subscribe again to the Advanced plan, these rules apply:
- If the repository never had a Health Check, Fluid Attacks counts all the lines of code at the moment of the new subscription.
- If the repository had a Health Check, Fluid Attacks counts the lines of the files that changed after the move to the Essential plan.
Integrations FAQ
Get answers to frequently asked questions about Fluid Attacks' API and plugin, especially privacy concerns regarding the features powered by Claude Sonnet.
Glossary
This glossary provides definitions for common application security concepts and terms specific to Fluid Attacks products used in its documentation or elsewhere.