Skip to content

Commit

Permalink
Revert "Update the python rules #1 (#196)" (#197)
Browse files Browse the repository at this point in the history
This reverts commit ea3d855.
  • Loading branch information
dbMundada authored Mar 8, 2023
1 parent ea3d855 commit 438144d
Show file tree
Hide file tree
Showing 218 changed files with 555 additions and 32,863 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed .gitbook/assets/Base (1) (1) (1) (1) (1) (1) (1).png
Diff not rendered.
Binary file removed .gitbook/assets/Base (1) (1) (1) (1) (1) (1) (2).png
Diff not rendered.
Binary file removed .gitbook/assets/Base (1) (1) (1) (1) (1) (1) (3).png
Diff not rendered.
Binary file removed .gitbook/assets/Base (2) (1) (1) (1).png
Diff not rendered.
Binary file removed .gitbook/assets/Base (2) (1) (1) (2).png
Diff not rendered.
Binary file removed .gitbook/assets/Base (2) (1) (1) (3).png
Diff not rendered.
Binary file removed .gitbook/assets/Base (3) (1) (1) (1) (1).png
Diff not rendered.
Binary file removed .gitbook/assets/Base (3) (1) (1) (1) (2).png
Diff not rendered.
Binary file removed .gitbook/assets/Base (3) (1) (1) (1) (3).png
Diff not rendered.
Binary file removed .gitbook/assets/Base (4) (1) (1) (1) (1).png
Diff not rendered.
Binary file removed .gitbook/assets/Base (4) (1) (1) (1) (2).png
Diff not rendered.
Binary file removed .gitbook/assets/Base (4) (1) (1) (1) (3).png
Diff not rendered.
Binary file removed .gitbook/assets/Base (4) (1) (1) (1) (4).png
Diff not rendered.
Binary file removed .gitbook/assets/Base (5) (1) (1) (1) (1).png
Diff not rendered.
Binary file removed .gitbook/assets/Base (5) (1) (1) (1) (2).png
Diff not rendered.
Binary file removed .gitbook/assets/Base (5) (1) (1) (1) (3).png
Diff not rendered.
Binary file removed .gitbook/assets/Base (6) (1) (1) (1).png
Diff not rendered.
Binary file removed .gitbook/assets/Base (6) (1) (1) (2).png
Diff not rendered.
Binary file removed .gitbook/assets/Base (6) (1) (1) (3).png
Diff not rendered.
Binary file removed .gitbook/assets/Base (7) (1) (1) (1).png
Diff not rendered.
Binary file removed .gitbook/assets/Base (7) (1) (1) (2).png
Diff not rendered.
Binary file removed .gitbook/assets/Base (7) (1) (1) (3).png
Diff not rendered.
Binary file removed .gitbook/assets/Base (8) (1) (1) (1).png
Diff not rendered.
Binary file removed .gitbook/assets/Base (8) (1) (1) (2).png
Diff not rendered.
Binary file removed .gitbook/assets/Base (8) (1) (1) (3).png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed .gitbook/assets/image-20220212-135442 (1) (1).png
Diff not rendered.
Binary file removed .gitbook/assets/image-20220212-135442 (1) (2).png
Diff not rendered.
Binary file removed .gitbook/assets/image-20220212-135442 (1) (3).png
Diff not rendered.
Binary file removed .gitbook/assets/image-20220212-135442 (1) (4).png
Diff not rendered.
Binary file removed .gitbook/assets/image-20220212-135442 (1) (5).png
Diff not rendered.
Binary file removed .gitbook/assets/image-20220212-135442 (1) (6).png
Diff not rendered.
Binary file removed .gitbook/assets/image-20220212-135442 (1) (7).png
Diff not rendered.
Binary file removed .gitbook/assets/image-20220212-135442 (1) (8).png
Diff not rendered.
Binary file removed .gitbook/assets/image-20220212-135442 (1) (9).png
Diff not rendered.
Binary file removed .gitbook/assets/image-20220212-135522 (1) (1).png
Diff not rendered.
Binary file removed .gitbook/assets/image-20220212-135522 (1) (2).png
Diff not rendered.
Binary file removed .gitbook/assets/image-20220212-135522 (1) (3).png
Diff not rendered.
Binary file removed .gitbook/assets/image-20220212-135522 (1) (4).png
Diff not rendered.
Binary file removed .gitbook/assets/image-20220212-135522 (1) (5).png
Diff not rendered.
Binary file removed .gitbook/assets/image-20220212-135522 (1) (6).png
Diff not rendered.
Binary file removed .gitbook/assets/image-20220212-135602 (1) (1).png
Diff not rendered.
Binary file removed .gitbook/assets/image-20220212-135602 (1) (2).png
Diff not rendered.
Binary file removed .gitbook/assets/image-20220212-135602 (1) (3).png
Diff not rendered.
Binary file removed .gitbook/assets/image-20220212-135602 (1) (4).png
Diff not rendered.
Binary file removed .gitbook/assets/image-20220212-135602 (1) (5).png
Diff not rendered.
Binary file removed .gitbook/assets/image-20220212-135602 (1) (6).png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
78 changes: 0 additions & 78 deletions .github/workflows/comparison-result.yml

This file was deleted.

7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ Privado is an open-source static code analysis tool to discover data flows in th
<img src="https://user-images.githubusercontent.com/80044360/186333819-779bfff5-d7a2-4bba-88e9-0ca866e1ee81.gif" width="600px">

# Supported languages
We support Java in GA and Python in alpha. Our Enterprise offering covers all programming languages, and we're working on adding support for more languages to OSS. Support for JS/TS is coming soon!

Currently, only Java is supported, but JS/TS support is arriving soon! We're also working on modifying the architecture to make it easier to accept community contributions to language support.

# Quick Start

Expand Down Expand Up @@ -49,7 +48,7 @@ To visualize the results and generate reports, you can create a free account at
3. Data Governance Engineers
4. Security Engineers
5. Mobile App Developers
6. Developers
6. Developers

# How does it help?
Privado lets Engineers ask contextual questions about the usage of sensitive data at scale.
Expand Down Expand Up @@ -88,7 +87,7 @@ Apart from getting a comprehensive outlook of your data practices for Privacy Au

Our free cloud platform can be used to generate RoPA reports for one or more synced repositories.

## Data Safety Report
## Data Safety Report
A Data Safety Report is a privacy form needed to publish any Android app on the Play Store. Most of the time, filling out a report means developers asking around the team to find what data they're collecting, spending hours reading SDK docs to see where information gets shared and navigating the complex Playstore form. With our scan, we pre-fill data types that are collected and shared, and our wizard guides you through generating the report.

# Contribute
Expand Down
5 changes: 0 additions & 5 deletions config/exclusions/java.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@ exclusions:
name: Exclude test source code
patterns:
- "(.*/src/test/.*)|/Test[A-Z]|Test[.]"

- id: Exclusions.Invalid.Properties
name: Exclude invalid properties file
patterns:
- ".*/WEB-INF/.*properties"

- id: Exclusions.Empty
name: Exclude file which cannot be read
Expand Down
20 changes: 4 additions & 16 deletions config/semantics/java.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@

semantics:
- signature: "android.text.TextUtils.isEmpty:boolean(java.lang.String)"

- signature: "android.text.TextUtils.isEmpty:<unresolvedSignature>(1)"

- signature: "org.apache.http.HttpResponse.getStatusLine:org.apache.http.StatusLine()"
flow: "0->0"

Expand All @@ -20,18 +20,6 @@ semantics:

- signature: "javax.persistence.Query.setParameter:<unresolvedSignature>(2)"
flow: "1->0 2->0"

- signature: "javax.persistence.EntityManager.find:<unresolvedSignature>(2)"
flow: "0->-1 1->-1 2->-1"

- signature: "com.braintreepayments.api.models.PaymentMethodNonce.getNonce:<unresolvedSignature>(0)"
flow: "0->-1"

- signature: "com.braintreepayments.api.models.PaymentMethodNonce.getNonce:java.lang.String()"
flow: "0->-1"

- signature: "java.lang.String.split:java.lang.String[](java.lang.String)"
flow: "0->-1 1->-1"

- signature: "java.lang.String.replace:java.lang.String(java.lang.CharSequence,java.lang.CharSequence)"
flow: "0->-1 1->-1 2->-1"
flow: "0->-1 1->-1 2->-1"
7 changes: 2 additions & 5 deletions config/sinkSkipList/python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,8 @@ sinkSkipList:
name: Skip Third Party Sinks
patterns:
- "(dict|list|str|tuple|int)\\.__.*"
- "(django.*\\.py|selenium).*"
- "\\/.*[.]py.*"
- "__builtin\\..*"
- "(cls|ModelClass|assoc|result)\\..*"
- "(?i)(builtins|stringio|operator|ast|jwt|cookielib|hashlib|urlparse|hmac|six|glob|json|html2text|yaml|re|copy|argparse|datetime|time|decimal|collections|asyncio|subprocess|pytest|logging|traceback|sys|os|oss2|unittest|base64|dateutil|importlib|socket|urllib3|urllib|io|uuid|gzip|math|bson|random|xmltodict|shutil|tempfile)\\.py.*"
- "(django.*\\.py).*"
- "(?i)(builtins|json|re|copy|argparse|datetime|time|decimal|collections|asyncio|subprocess|pytest|logging|traceback|sys|os|oss2|unittest|base64|dateutil|importlib|socket|urllib3|urllib|io|uuid|gzip|math|bson|random)\\.py.*"

- id: SinkSkipList.BuiltInLib
name: Skip built in language libraries
Expand Down
12 changes: 0 additions & 12 deletions config/systemConfig/java.yaml

This file was deleted.

9 changes: 0 additions & 9 deletions config/systemConfig/python.yaml

This file was deleted.

Binary file removed docs/.gitbook/assets/749109262
Binary file not shown.
Binary file removed docs/.gitbook/assets/749109262 (1)
Binary file not shown.
Binary file removed docs/.gitbook/assets/749109262 (2)
Binary file not shown.
Binary file removed docs/.gitbook/assets/bullet_blue
Binary file not shown.
Binary file removed docs/.gitbook/assets/bullet_blue (1)
Binary file not shown.
Binary file removed docs/.gitbook/assets/bullet_blue (2)
Binary file not shown.
Binary file removed docs/.gitbook/assets/image (1) (1).png
Diff not rendered.
Binary file modified docs/.gitbook/assets/image (1).png
Loading

0 comments on commit 438144d

Please sign in to comment.