Kappa

Latest version: v0.7.0

Safety actively analyzes 685525 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.7.0

------------------

- Support alternate git status output. [Jose Diaz-Gonzalez]

- Do not force use of profile for AWS session. [Wilfrido Vidana]

* Let boto3 handle credentials, do not force the use of profile


- Added documentation for Environment Variables. [Bruno Carrier]

- Added environment variable support. [Bruno Carrier]

- Allow deploys with existing role. [Wilfrido Vidana]

* No policy needed
* Use role name


- Add lambdaInvoke permissions for SNS Events. [Tim Van de Walle]

SNS events need to be given the lambdaInvoke permission so that they can
call the lambda function.

Fixes 76.


- Adding fix for issue 90. Adding _get_notification_spec function to s3
event source. [Dylan Armstrong]

- Adding fix for issue 89. [Dylan Armstrong]

- Removing environment suffix from function name/arn. [Dylan Armstrong]

- Adding fixes for issues 87 and 88. [Dylan Armstrong]

- Adding fix for issue 85: Updating cloudwatch event source causes
trigger to show multiple times in AWS console. [Dylan Armstrong]

- LambdaFunctionArn shouldn't be suffixed with the environment. [Igor
Serko]

When configuring the S3 bucket event the function `add` builds the `LambdaFunctionConfigurations` which specifies the `LambdaFunctionArn`. The ARN should be the functions *exact* ARN and not suffixed by the environment ex.`arn:aws:lambda:us-west-1:1234567890123:function:bigquery_commit:main-env`.

It makes the Lambda UI and the S3 event sources UI confused as they don't recognize that the specific Lambda function even exists.

The reason why I made this change is because I had problems applying the bucket event cross-account and could not do this without this change.

0.6.0

------------------

- Fix for the config file example. [Igor Serko]

Github doesn't seem to support `sourcecode` blocks ... instead they're
called `code`, see http://docutils.sourceforge.net/docs/ref/rst/directives.htmlcode


- S3 Event Source Status fix. [Igor Serko]

The CLI expects to see `EventSourceArn` and `State` in the result from the `status` method in each event_source. This makes it work for the S3 event sources


- 4-space indentation fix. [Matteo Sessa]

- Add support for prefix/suffix filters on S3. [Matteo Sessa]

- Include environment at lambda function qualifier. [Matteo Sessa]

- Include datasources in distribution. [Matteo Sessa]

- Fix 73. [LaiQiang Ding]

- Cloudwatch: eliminate 'else' before return in _to_status. [James
Cooper]

- Remove event_source.py - accidentally re-added when I rebased. [James
Cooper]

- Add .gitignore to 'cron' sample. [James Cooper]

- Added 'cron' sample to demo CloudWatch events. [James Cooper]

- Add CloudWatchEventSource. [James Cooper]

- Test_role.py: use string.printable instead of lowercase (fixes Python
3.x) [James Cooper]

- Role.py: only strip 'Role' from 'get_role' response if present (passes
placebo tests) [James Cooper]

- Add unit tests for Role.delete. [James Cooper]

- Context.py: revert pep8 fix. [James Cooper]

- Context.py: pep8 - line too long. [James Cooper]

- Modify role.delete to no-op if role missing. [James Cooper]

If "kappa delete" fails midway then re-running it will fail during
role removal.

This PR modifies `delete` to check if the role exists. If it does not
then we log a debug line and return early.

I also consolidated various methods that were calling `get_role` so that
error handling is consistent, and removed `_find_all_roles` as
`get_role` is sufficient, and probably faster (particularly for accounts
with many roles).


- Fix code smell. [Jose Diaz-Gonzalez]

- Simplify event source retrieval. [Jose Diaz-Gonzalez]

- Make output look a little nicer. [Jose Diaz-Gonzalez]

- Require that environment exist before indexing it. [Jose Diaz-
Gonzalez]

- Refactor event sources into their own modules. [Jose Diaz-Gonzalez]

0.5.1

------------------

- Fix exception catching. [Jose Diaz-Gonzalez]

0.5.0

------------------

- Merge remote-tracking branch 'Miserlou/tailwait' [Jose Diaz-Gonzalez]

- Well that was embarassing. Not sure how that happened. [Rich Jones]

- Replace tabs with spaces.. my fault for cowboy coding.. [Rich Jones]

- Fixes 23 - recursive tailing hur hur. [Rich Jones]

0.4.1

------------------

- Add utf-8 encoding to each python file. [Jose Diaz-Gonzalez]

0.4.0

------------------

- Remove markdown version of changelog. [Jose Diaz-Gonzalez]

- Reference correct readme file. [Jose Diaz-Gonzalez]

- Fix code smells in simple.py. [Jose Diaz-Gonzalez]

- Add release script. [Jose Diaz-Gonzalez]

- Make kappa pep8 compliant. [Jose Diaz-Gonzalez]

- Move version into __init__.py. [Jose Diaz-Gonzalez]

- Make setup.py runnable. [Jose Diaz-Gonzalez]

- Cleanup setup.py. [Jose Diaz-Gonzalez]

- Read requirements from requirements.txt
- Support both setuptools and distutils
- Use wrapper for opening the correct file for requirements.txt and the readme
- Import version from package
- Hardcode package list
- Avoid reading in entire license file when specifying the license attribute


- Separate dev and non-dev requirements. [Jose Diaz-Gonzalez]

- Convert readme to RST format. [Jose Diaz-Gonzalez]

- Show errors and stop function.create when ClientError. [Rodrigo Saito]

The previous code checked only for one error and if some validation error occurred on AWS API
then an infinite loop was happening.

- Fix vpc_config parameters. [Rodrigo Saito]

Boto expects SecurityGroupIds and SubnetIds to be arrays instead of a strings separated with ",".

- Typo in Quick Start. [laiso]

- Add vpc_config to md5. [Jose Diaz-Gonzalez]

Changing the VPC config otherwise results in configuration being ignored during a deploy

- Fix retrieval of resources when user is using statements. [Jose Diaz-
Gonzalez]

- Add ability to enable and disable S3EventSource. [Jose Diaz-Gonzalez]

- Fix disabling event sources. [Jose Diaz-Gonzalez]

- Typo in "event_sources disable" cli-command. [Guyon Morée]

- Getting SNS sample working again. [Mitch Garnaat]

- Cleaning up a few small things. [Mitch Garnaat]

- Bumping placebo requirement version. [Mitch Garnaat]

- Bunch of changes leading up to the merge to develop. [Mitch Garnaat]

- Fix small bug. [Samuel Soubeyran]

- Add dependencies and check for existing key in zip before writing new
file. [Samuel Soubeyran]

- Merge remote-tracking branch 'origin/python-refactor' into python-
refactor. [Mitch Garnaat]

- Adding a way to put in a policy as is into the kappa config file.
[Peter Sankauskas]

- Adding missing file. [Mitch Garnaat]

- Too aggressive on the packages to delete. [Mitch Garnaat]

- Add a list of files and directories to exclude from the zip package
because they are already installed in Lambda. [Mitch Garnaat]

- Getting event sources working again. Lots of other changes. [Mitch
Garnaat]

- Another run at fixing the Py3 encoding problems. [Mitch Garnaat]

- Fix encoding problems. [Mitch Garnaat]

- Encode the JSON document coming out of dumps(). [Mitch Garnaat]

- Fix 2.x only syntax on an except clause. [Mitch Garnaat]

- A bunch of changes to support new unit testing strategy with placebo.
More tests to come. [Mitch Garnaat]

- Use source_dir of Context object to find source code. [Mitch Garnaat]

- Fixing issue with aliases after the first deployment. Make sure role
and policy names have the environment name in them. [Mitch Garnaat]

- Fixed some deployment issues. Also changed it so that every code
deployment creates not just a new version but also a new alias based
on the environment. No longer use environment explicitly in names.
[Mitch Garnaat]

- Adding docs directory. Still needs lots of work. [Mitch Garnaat]

- Some tweaks to the README file. [Mitch Garnaat]

- Adding a really simple python sample. [Mitch Garnaat]

- Merge remote-tracking branch 'origin/develop' into python-refactor.
[Mitch Garnaat]

- README.md. [Christopher Manning]

lambda supports more than javascript

- Fixing some ugly code. [Mitch Garnaat]

- Add placebo requirement. [Mitch Garnaat]

- Another WIP commit. Major changes in the CLI. Also much better
detection of changes (or no changes) in the code, configuration,
policies, etc. when deploying. An attempt to incorporate a test
runner that will run unit tests associated with the Lambda function.
[Mitch Garnaat]

- Begin updates to README. Also, introduce a version attribute in the
config file and use that, as well as the environment, to name
resources. Also use this name for the zip file and eliminate
zipfile_name from config. [Mitch Garnaat]

- Add the missing call to build the zip file. [Mitch Garnaat]

- Allow an event source to be enabled/disabled. [Mitch Garnaat]

- Fixing a LOG call. [Mitch Garnaat]

- Add the ability to generate the config files based on the environment
specified. [Mitch Garnaat]

- Fixing a few small style issues. [Mitch Garnaat]

- Fixing some typos and silly bugs. [Mitch Garnaat]

- A WIP commit on the new refactor for support of Python and other
features. [Mitch Garnaat]

- `update_event_sources` fails on SNS and S3 event sources. [Ryan S.
Brown]

Per https://github.com/garnaat/kappa/issues/32 , adding an update method
for event sources that don't have them.


- Updating boto3 dependency to latest GA version. [Mitch Garnaat]

- Delete the log group when the function is deleted. Fixes 28. [Mitch
Garnaat]

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.