Giter Site home page Giter Site logo

paladincloud / ce Goto Github PK

View Code? Open in Web Editor NEW
560.0 560.0 50.0 97.75 MB

Paladin Cloud is an extensible, cloud security platform for developers. Join the community at https://discord.gg/xvCFD29Jj4

Home Page: https://paladincloud.io/

License: Apache License 2.0

Java 67.83% HTML 4.33% CSS 3.10% JavaScript 5.69% Handlebars 0.05% Python 2.72% Shell 0.02% Dockerfile 0.01% TypeScript 16.26% SCSS 0.01%

ce's People

Contributors

aishwaryakulkarni97 avatar akashpaladin avatar amishavijayakumar08 avatar anandpaladin avatar anandzemosa avatar anilcs81 avatar anjalimadhavi-nakirikanti avatar arunpaladin avatar astra1 avatar dependabot[bot] avatar dheerajkholia-paladin avatar ershad-paladin avatar ershad-zemoso avatar go-jay avatar johnakash avatar johnrex-j avatar kanchanaaradhya avatar kaykumar avatar kushzemoso avatar nakerakantianjali avatar nidhishkrishnan avatar ranadheer-bolli avatar raviteja-mandala avatar ritesh74 avatar rnithinpaladin avatar sajeer-nooh avatar santhosh-challa avatar santhoshigorle avatar shefalibisht1992 avatar sidharthjain-zemoso avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ce's Issues

Issues while redeploying

[ec2-user@ip-10-0-0-89 installer]$ sudo python manager.py redeploy
############################################################
!!!!!!! WARNING !!!!!!!
############################################################
This system works with python version 3.5 or greater.
Please create virtualenv with python3 or upgrade python

[ec2-user@ip-10-0-0-89 installer]$ python --version
Python 2.7.18

Install Fails with default value for ENABLE_VULNERABILITY_FEATURE

Microservices

  • Spring boot Applications:
  • Asset Service

Rule Engine

Rules

ETL

Webapp

  • OS Type: Windows/Linux/MacOS
  • Java version:
  • 1.9

Summary

Installation fails with config value ENABLE_VULNERABILITY_FEATURE = False, which is the default one.

Reproduce steps

Install Paladincloud without changing the value of ENABLE_VULNERABILITY_FEATURE

Expected Results

Update the default value to ENABLE_VULNERABILITY_FEATURE = True, to pass the installation

Actual Results

Update the default value to ENABLE_VULNERABILITY_FEATURE = True, to pass the installation

Unable to login with HTTPS custom domain URL

I have enabled HTTPS for the ALB with a custom domain. I have allowed https to whole world for paladin security group that is attached to ALB. I am able to access the URL but failing to login.

image

Please suggest

unable to redeploy

Hi Team,

I am trying to add an azure account to local.py and trying to redeploy. But, unable to redeploy it. Please see the below error for reference.

image

I am using v1.5.2 release. Please help

How to upgrade the nginx version from 1.14.0 to a higher version ?

โ” Question

How to upgrade the nginx version from 1.14.0 to a higher version once Paladin app is installed?
Is there a command supported by Paladin?

๐Ÿ”ฆ Context

We are getting the below Vulnerability issue due to the nginx version.

"According to its Server response header, the installed version of nginx is 1.9.5 prior to
1.16.1 or 1.17.x prior to 1.17.3. It is, therefore, affected by multiple denial of service
vulnerabilities"

๐Ÿ’ป Code Sample

Policy Compliance Tile - Not having consistent Display Names

In Dashboard - Policy Compliance Tile-

Additional Details per Row -
Consistent Display Names - letter case is all over the place, spaces are not use consistently
ensure Cloud provider is always displayed consistently
Why is there an exempted AND IsAssetExempted filed? Remove one of them? Or explain
Compliance % should be "No Resources" if not measurable
Remove duplicate "compliance" field
organize the data with logically related fields near each other

ec2 instance launch fails with 20GB disk space

Microservices

  • Asset Service

Rule Engine

Rules

ETL

Webapp

  • OS Type: Windows/Linux/MacOS
  • Java version:
  • 1.9

Summary

_Recommended instance type: t2.large (Minimum 8GB memory and 20GB disk space) or more.

t2.large comes with 25GB and we cannot create one with 20GB.

Reproduce steps

Launch an ec2 instance from the paladin AMI and change the volume to 20GB

Expected Results

Document should be updated with 25GB minimum disk space

Actual Results

Document should be updated with 25GB minimum disk space

Fix inconsistent Asset type naming

inconsistent Asset type naming e.g. Securitypricings, Gkecluster, and Mysqlflexible.
Verify all Asset Types are Singular AND use their proper Display Name.

[BUG] UI does not redirect to login for expired sessions

Webapp

  • OS Type: Linux

Summary

If you leave the UI open long enough for the session to expire, all pages in the UI continue to load, but all lists and dashboards are empty.

Looking at the browser console, all API calls are turning http status 401.

Reproduce steps

Stay logged into the UI long enough for your session to expire.

Expected Results

UI should redirect to login page on expired session to allow the user to login again.

Actual Results

UI does not alert you that your session is inactive. No errors or warnings on the page about loading data.

[BUG] Can't login in the app with default credentials

Microservices

  • Spring boot Applications:
  • Auth Service

Summary

Can't login in the app

Reproduce steps

  • Install Paladin following installation instructions
  • Try to login with default creds

Expected Results

  • Should be able to login in the app
  • If there is a 503 error, the error message on the UI should say something like "Network error when trying to login"

Actual Results

Getting a "503 Service Temporary Unavailable" error when sending auth data to /api/auth/user/login

Text cursor icon not showing up

In Violations - search bar When trying to type something on the text input, it has to show Text cursor icon, instead its showing hand pointer icon

Unable to monitor Azure Cloud in paladin cloud

I have enabled to monitor Azure Cloud in settings/local.py and also added respective service principle attributes (clientid, secretid, tenantid) with Reader permissions to the Azure resource group.

I am unable to view the Azure cloud data and either the data is collected from the Azure cloud.

Can someone please help?

Install issue, Fails Terraform step 8

Microservices

  • Spring boot Applications:
  • Admin Service
  • Auth Service
  • Asset Service
  • Compliance Service
  • Statistics Service
  • Notification Service

Rule Engine

Rules

ETL

Webapp

  • OS Type: Windows/Linux/MacOS
  • Java version:
  • 1.8

Summary

The installer is failing during Step 8 of the Terraform plan.

debug.log tail shows
Error: aws_s3_object.lambda_submit_s3_upload_UploadLambdaSubmitJobZipFile: Provider doesn't support resource: aws_s3_object

error.log tail shows
Error: aws_s3_object.lambda_submit_s3_upload_UploadLambdaSubmitJobZipFile: Provider doesn't support resource: aws_s3_object

Reproduce steps

Launch the installer

Expected Results

Completed install

Actual Results

Install fails

Wrong message is passed with deployment message - resources deployed ( 430)

Microservices

  • Spring boot Applications:
  • Asset Service

Rule Engine

Rules

ETL

Webapp

  • OS Type: Windows/Linux/MacOS
  • Java version:
  • 1.9

Summary

Wrong message is passed after seeing the message 430 resources are getting deployed. Customers never have an idea that this includes the rules.

Reproduce steps

Install Paladincloud

Expected Results

Please update the message so that customers get an clear idea of how many aws resources are deployed. Separate the rules and aws resources.

Actual Results

Please update the message so that customers get an clear idea of how many aws resources are deployed. Separate the rules and aws resources.

[Question]

โ” Question

  1. How many instances are going to be created while installing paladin?
  2. I see paladin requires two subnets in local.py file . Why two of the subnets are required, because I am installing and deploying the paladin in the same subnet where my environment is.

[Feature Request] Scope disabled policies with tags

๐Ÿ™‹ feature request

I would like to be able to use tags as an abstraction layer to decide whether or not to disable policies for a given asset. This is very similar to #943 but applies to disabling policies rather than suppressing results for alerting and reporting purposes.

๐Ÿ”ฆ Context

I many cases companies have used account boundaries for isolating compliance needs, while this is admirable it in many cases is not easily doable and its important for security tools to meet the customer where they are rather than tell them "well you should be here"...chances are they know and they wish they could isolate in such a manner. Rather than unreasonably asking folks to migrate their apps all over the place its more reasonable to ask owners of resources to tag their assets (ideally in automation). Lets empower folks to make light changes in their infrastructure and allow our exception model to be flexible.

Even if you have implemented โ˜๏ธ you may find the need to suppress results based on the needs of the individual resource. See the examples for further clarification.

๐Ÿ’ป Examples

This is never valid, unless it is

Lets take some very basic guidelines such as "Never expose SSH/RDP to the world". Is this always true or is it ALMOST always true?

It would be preferable to to suppress these types of events with a tag of Service = (Bastion|VPN|...) while not turning off the visibility on other assets within the same account.

Align a compliance framework to defined resources

Often times we have mixed resources that have different security needs. For example you may find that tagging a resource such as RDS, S3, etc with some organizational standard tags could result in reduced noise.

If one tags a resource with (PCI|PHI|...)=(true|false) we can decide how to instruct the platform to activate, disable, or suppress various checks based on the frameworks at play. This becomes more important as we have shared resources in technologies such as k8s where there may be distinct node groups to address compliance needs within the same cluster while allowing flexibility for other use cases.

[Enhancement - Policy Details] Update look and feel of the policy details screen

๐Ÿ™‹ feature request

image

  1. Fix the Policy title - should be friendly name
  2. Move the information in the tiles into the Policy Details page, however, we just need to display the data, hence tiles are no longer necessary
  3. Remove items marked with red X - this information we will not expose to the user

๐Ÿค” Expected Behavior

๐Ÿ˜ฏ Current Behavior

๐Ÿ’ Possible Solution

๐Ÿ”ฆ Context

๐Ÿ’ป Examples

Despite the setup being complete, I cannot access the Paladin Cloud

โ” Question

Despite the setup being complete, I cannot access the Paladin Cloud

๐Ÿ”ฆ Context

I am exploring Paladin Cloud.

I followed the installation instructions provided in the following documentation -

https://github.com/PaladinCloud/CE/wiki/Installation

  1. After installation is complete I received the following message.

๐Ÿ’ป Code Sample

************************************************* OUTPUT ************************************************

          MySQL Host: paladincloud-data.************.us-east-1.rds.amazonaws.com:3306

            MySQL DB: pacmandata

         DB Username: paladin

         DB Password: ***********

             ES Host: vpc-paladincloud-data-**************************.us-east-1.es.amazonaws.com

         Kibana Host: vpc-paladincloud-data-**************************.us-east-1.es.amazonaws.com/_plugin/kibana/

   Paladin Cloud URL: http://internal-paladincloud-**********.us-east-1.elb.amazonaws.com

               Admin: [[email protected]](mailto:[email protected]) / PaladinAdmin!!

                User: [[email protected]](mailto:[email protected]) / PaladinUser!!

*********************************************************************************************************
  1. In the installation instructions, there is one Note below instruction 9.

Note: Setting up SSL before the installation will save up to thirty minutes of time. Click here for the steps to set up SSL before installation.โ€‹

Hyperlink for - Click here for the steps to set up SSL before installation is missing.

404 Client Error: Not Found ("b'{"message":"No such image: **********.dkr.ecr.us-west-1.amazonaws.com/paladincloud-microservices:latest"}'")

404 Client Error: Not Found

We are getting the below error while installing Paladin app. Could you please help on this.

1 error occurred:
* null_resource.pacbot_app_ecr_APIDockerImageBuild: Error running command '/opt/CE-1.0.1/installer/data/terraform/scripts_and_files/scripts/create_docker_image_and_push_to_ecr.py': exit status 1. Output: Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/docker/client.py", line 170, in _raise_for_status
response.raise_for_status()
File "/usr/local/lib/python3.7/site-packages/requests/models.py", line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http+docker://localunixsocket/v1.24/images/*********.dkr.ecr.us-west-1.amazonaws.com/paladincloud-microservices?force=True&noprune=False

๐Ÿ”ฆ Context

๐Ÿ’ป Code Sample

[Question]

โ” Question

Is it normal that when installing Paladin Cloud, the installer creates 7 m4.large instances?

๐Ÿ”ฆ Context

I successfully installed Paladin Cloud, then I checked my EC2 instances and then I saw 7 new instances. Those are very expensive instances and I couldn't find any details about it in the Installation notes

[BUG] Admin: Policy: Edit Policy: Tooltip does not display

Summary

When hovering over the "i" icon indicating a tooltip, it does not display. I was told the data is in the system, but it is not displaying.
This file holds the code for the tooltip HTML, but this seems like an issue with js.

Reproduce steps

Hover the cursor over the icon

Expected Results

A popup displaying information as a tooltip

Actual Results

Nothing happens

Screenshot 2023-03-16 at 10 34 15 AM

[BUG]Mandatory tag & Policy Bug

Microservices

  • Spring boot Applications:
  • Admin Service
  • Auth Service
  • Asset Service
  • Compliance Service
  • Statistics Service
  • Notification Service

Rule Engine

Rules

ETL

Webapp

  • OS Type: Windows/Linux/MacOS
  • Java version:
  • 1.9
  • 1.8
  • 1.7

Summary

pick a mandatory tag policy - does not match our recommended mandatory tags definition

Reproduce steps

Expected Results

Actual Results

[Feature Request] Scope sticky exceptions to tag values

๐Ÿ™‹ feature request

I would like to be able to use tags to create sticky exceptions.

๐Ÿ”ฆ Context

I many cases companies have used account boundaries for isolating compliance needs, while this is admirable it in many cases is not easily doable and its important for security tools to meet the customer where they are rather than tell them "well you should be here"...chances are they know and they wish they could isolate in such a manner. Rather than unreasonably asking folks to migrate their apps all over the place its more reasonable to ask owners of resources to tag their assets (ideally in automation). Lets empower folks to make light changes in their infrastructure and allow our exception model to be flexible.

Even if you have implemented โ˜๏ธ you may find the need to suppress results based on the needs of the individual resource. See the examples for further clarification.

๐Ÿ’ป Examples

This is never valid, unless it is

Lets take some very basic guidelines such as "Never expose SSH/RDP to the world". Is this always true or is it ALMOST always true?

It would be preferable to to suppress these types of events with a tag of Service = (Bastion|VPN|...) while not turning off the visibility on other assets within the same account.

Align a compliance framework to defined resources

Often times we have mixed resources that have different security needs. For example you may find that tagging a resource such as RDS, S3, etc with some organizational standard tags could result in reduced noise.

If one tags a resource with (PCI|PHI|...)=(true|false) we can decide how to instruct the platform to activate, disable, or suppress various checks based on the frameworks at play. This becomes more important as we have shared resources in technologies such as k8s where there may be distinct node groups to address compliance needs within the same cluster while allowing flexibility for other use cases.

Unable to upgrade to 1.5.2 version

Hi Team,

I followed the steps from the documentation to upgrade to 1.5.2 latest version but unable to redeploy.

Please see the below error
"Error occured in Terraform file generation. Resource: ReplaceSQLPlaceHolder"

image

Can someone please help

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.