Skip to content

Add audit logging - #175

Merged
jsha merged 3 commits into
masterfrom
63-bifurcation-audit
May 19, 2015
Merged

jsha merged 3 commits into
masterfrom
63-bifurcation-audit

Conversation

@jcjones

@jcjones jcjones commented May 11, 2015

Copy link
Copy Markdown
Contributor

Moved from #136

This partly addresses the audit requirements in Issue #62.

@jcjones jcjones self-assigned this May 11, 2015
@jcjones jcjones added this to the Logging milestone May 11, 2015
@coveralls

Copy link
Copy Markdown

Coverage Status

Changes Unknown when pulling 52fefaa on 63-bifurcation-audit into * on master*.

@jcjones
jcjones force-pushed the 63-bifurcation-audit branch from 52fefaa to 5f0ced2 Compare May 14, 2015 21:09
@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.37%) to 45.12% when pulling 5f0ced2 on 63-bifurcation-audit into 672f0b1 on master.

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+2.26%) to 47.01% when pulling fd948ff on 63-bifurcation-audit into 672f0b1 on master.

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.33%) to 45.08% when pulling 71df0a8 on 63-bifurcation-audit into 672f0b1 on master.

@jcjones
jcjones force-pushed the 63-bifurcation-audit branch from 71df0a8 to 766d6d5 Compare May 15, 2015 21:30
@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+2.68%) to 46.56% when pulling 766d6d5 on 63-bifurcation-audit into 2ba4698 on master.

@jcjones
jcjones force-pushed the 63-bifurcation-audit branch from 6f67242 to 31506d8 Compare May 16, 2015 00:20
@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+1.23%) to 45.12% when pulling 31506d8 on 63-bifurcation-audit into 2ba4698 on master.

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+1.23%) to 45.12% when pulling 31506d8 on 63-bifurcation-audit into 2ba4698 on master.

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+1.23%) to 45.12% when pulling 211331e on 63-bifurcation-audit into 2ba4698 on master.

@jcjones
jcjones force-pushed the 63-bifurcation-audit branch 3 times, most recently from 6db7ca3 to 7ce8388 Compare May 18, 2015 21:37
@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+1.13%) to 43.67% when pulling 7ce8388 on 63-bifurcation-audit into 4cda5e1 on master.

@jcjones

jcjones commented May 18, 2015

Copy link
Copy Markdown
Contributor Author

This PR is now ready for review. A necessary follow-on is open at Issue #204.

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+1.13%) to 43.67% when pulling 7ce8388 on 63-bifurcation-audit into 4cda5e1 on master.

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+1.13%) to 43.67% when pulling 7ce8388 on 63-bifurcation-audit into 4cda5e1 on master.

Comment thread docs/requirements/README.md Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

*traceability

Comment thread wfe/web-front-end.go Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be an audit log under "Error conditions."

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

@jsha

jsha commented May 19, 2015

Copy link
Copy Markdown
Contributor

Done reviewing.

bifurcation and others added 3 commits May 18, 2015 18:23
- Auditing for general errors in executables
- Auditing for improper messages received by WFE
- Automatic audit wlogging of software errors
- Audit logging for mis-routed messages
- Audit logging for certificate requests
- Auditing for improper messages received by WFE
- Add audit events table
- Expect more details in TestRegistration in web-front-end_test.go
- Remove "extra" debug details from web-front-end.go per Issue #174
- Improve test coverage of web-front-end.go
- WFE audit updates for revocation support rebase
- Add audit messages to RPC for Improper Messages and Error Conditions
- Also note misrouted messages
- Documentation correction
- Don't lose the problemDoc failback (merge issue, I guess?)
- Add the start of an ack script to find methods implementing the audit UUIDs
- Documentation fix (RA calls VA, not WFE)
- Audit log revocations
- Audit log unauthorized domains
- Include all SANs in issuance audit log
- Add a script to locate all audit markers
@jcjones
jcjones force-pushed the 63-bifurcation-audit branch from 3c89a09 to d2be0dc Compare May 19, 2015 01:24
@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+1.46%) to 44.09% when pulling d2be0dc on 63-bifurcation-audit into 63a5b08 on master.

@jsha

jsha commented May 19, 2015

Copy link
Copy Markdown
Contributor

Looks good! Thanks.

jsha added a commit that referenced this pull request May 19, 2015
@jsha
jsha merged commit 221e19d into master May 19, 2015
@jsha
jsha deleted the 63-bifurcation-audit branch May 19, 2015 01:41
@jcjones jcjones mentioned this pull request May 19, 2015
eq19 pushed a commit to VirtualNetworks/boulder that referenced this pull request May 1, 2025
* Whitespace fix - no functional changes

* Move all saucelabs scripts into a properly named folder

* Implement 90% of store.js v2.0.

The new architecture is fully backwards-compatible and supports pluggable functionality and storage engines.

It comes out of the box with 6 storages: localStorage, sessionStorage, memoryStorage, cookieStorage, oldFF-globalStorage, oldIE-userDataStorage.

It also comes with 7 addons: defaults for easy default values, events and observations for observing stored values, expire for auto-expiring stored values, operations for common array and object operations like push, pop, shift, assign, etc, update for easily updating an objects properties, and v1-backcompat for back-compatible behavior with store.js v1

* Clean up storage functions by removing the addon-prefix from the function names (they are no longer needed due to super_fn functionality)

* Fix many previously failing tests. Getting clean and close to ready...!!

* All tests pass! Looks like we have a release candidate! :) Time to write documentation and prep for release: clean up, test cross browser, write documentation, write announcement...

* Move `has` to the backcompat addon, since it is not a necesary part of the store.js core API

* Move store.dump into an addon, since it can be

* Clean up store-engine.js. No functional changes

* Start linting all store.js files using eslint. Caught lots of little bugs!

* Move all source files into src/, remove old unused files, and misc clean ups

* Remove outdated roadmap file

* npm test -> make test

* Simulate localStorage in node test runner

* Fix expire_test, which was failing in browser

* Misc cleanups

* Fix cookieStorage.each

* Add json2 addon for v1+json2 backcompatability

* All tests passing for all modern storages. Saucelabs testing for legacy browser remains

* Add `make build` which creates minified versions of each build in `build/*`

* Clearly differentiate between util.Global and other environments mentions of global

* Allow for storages to be passed in as a list or as an object

* Use auto-formated package.json

* Use tinytest.hijackConsoleLog

* Add automation for running full cross-browser test suite on saucelabs

* Add sublime project file

* Use latest ngrok. It does not have the mutex lock bug of 0.2.2

* Fix test of addon expire.

I have observed multiple times when legacy browsers in various environments (saucelabs, VMs, etc) have executed a scheduled timeout function too soon. The solution is to run a longer, timeout, but this substantially slows down the test suite. Instead, we allow multiple attempts with increasing durations.

* Fix operations addon assign function, which behaved incorrectly if given the key of a non-object existing value

* Fix operations addon test for array functions.

When storing values containing arrays with `undefined` entries, JSON will serialize those entries as null. Thus, we should not test for proper behavior of adding `undefined` values to arrays

* fix oldFF-glolalStorage implementation of `each`

* Shortcut testing of oldIE-userDataStorage in IE8, IE9 and IE10 since it has a wonky implementation there which sometimes fails. In production this would not have an effect as long as localStorage is the prefered storage, since that is available in all three of those browsers

* Fix oldIE-userDataStorage storage `each` implementation

* === >>> ==

Exact equality is better suited here than loose equality

* More informative success message on test suite completion

* Print each line separately when listing all supported browsers, since the output is otherwise truncated

* Remove executable mode of scripts/*.js to favor Makefile usage

* Use latest tinytest with IE6 compatability

* Fix expire addon tests, which I managed to botch somehow

* Cleanup commit: Rename addons/mixins to plugins; Cleanup engine.js code organization; Remove storage.fixKey concept (it was only used by one storage); Add commas to the last property of object literals; Add two API functions: addStorage and addPlugin; Remove store.disabled, and move it to the v1-backcompat addon; Add build "cross-browser"

* Exclude builds from sublime project

* Allow require("store/plugins/X") and require("store/storages/X") by moving src/plugin to plugins and src/storage storages; Rename builds to dist

* Changelog

* Remove bower.json and component.json, since they are not widely used. We can add them back in if needed later

* Update sublime project file to exclude dist

* Make the default build "cross-browser"

* Rename src/engine to src/store-engine to make it clearer what it is

* Whitespace fix

* Whitespace and trailing comma fixes

* Fix oldFF-globalStorage name

* Clean up builds

* Simplify plugin writing by simply making it a function which returns the plugin function property object.

* Remove old unused file from Makefile

* Make build flags more explicit

* Fix test scripts

* Fix v1-backcompat plugin forEach

* Cleanup saucelabs platform sets; add terminating commas to object literals in saucelabs platform sets

* Add opera to browser test suite

* Update builds

* Point default build to src/builds/store.legacy

* Update README.md

* Allow for platform sets to specify a single version, as opposed to an array of versions

* Fix build names in Changelog

* Update saucelabs tunnel script test suite path name to match the build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants